~ubuntu-branches/ubuntu/wily/clamav/wily-proposed

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/include/llvm/Target/TargetOpcodes.h

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman, Sebastian Andrzej Siewior, Andreas Cadhalpun, Scott Kitterman, Javier Fernández-Sanguino
  • Date: 2015-01-28 00:25:13 UTC
  • mfrom: (0.48.14 sid)
  • Revision ID: package-import@ubuntu.com-20150128002513-lil2oi74cooy4lzr
Tags: 0.98.6+dfsg-1
[ Sebastian Andrzej Siewior ]
* update "fix-ssize_t-size_t-off_t-printf-modifier", include of misc.h was
  missing but was pulled in via the systemd patch.
* Don't leak return codes from libmspack to clamav API. (Closes: #774686).

[ Andreas Cadhalpun ]
* Add patch to avoid emitting incremental progress messages when not
  outputting to a terminal. (Closes: #767350)
* Update lintian-overrides for unused-file-paragraph-in-dep5-copyright.
* clamav-base.postinst: always chown /var/log/clamav and /var/lib/clamav
  to clamav:clamav, not only on fresh installations. (Closes: #775400)
* Adapt the clamav-daemon and clamav-freshclam logrotate scripts,
  so that they correctly work under systemd.
* Move the PidFile variable from the clamd/freshclam configuration files
  to the init scripts. This makes the init scripts more robust against
  misconfiguration and avoids error messages with systemd. (Closes: #767353)
* debian/copyright: drop files from Files-Excluded only present in github
  tarballs
* Drop Workaround-a-bug-in-libc-on-Hurd.patch, because hurd got fixed.
  (see #752237)
* debian/rules: Remove useless --with-system-tommath --without-included-ltdl
  configure options.

[ Scott Kitterman ]
* Stop stripping llvm when repacking the tarball as the system llvm on some
  releases is too old to use
* New upstream bugfix release
  - Library shared object revisions.
  - Includes a patch from Sebastian Andrzej Siewior making ClamAV pid files
    compatible with systemd.
  - Fix a heap out of bounds condition with crafted Yoda's crypter files.
    This issue was discovered by Felix Groebert of the Google Security Team.
  - Fix a heap out of bounds condition with crafted mew packer files. This
    issue was discovered by Felix Groebert of the Google Security Team.
  - Fix a heap out of bounds condition with crafted upx packer files. This
    issue was discovered by Kevin Szkudlapski of Quarkslab.
  - Fix a heap out of bounds condition with crafted upack packer files. This
    issue was discovered by Sebastian Andrzej Siewior. CVE-2014-9328.
  - Compensate a crash due to incorrect compiler optimization when handling
    crafted petite packer files. This issue was discovered by Sebastian
    Andrzej Siewior.
* Update lintian override for embedded zlib to match new so version

[ Javier Fernández-Sanguino ]
* Updated Spanish Debconf template translation (Closes: #773563)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//===-- llvm/Target/TargetOpcodes.h - Target Indep Opcodes ------*- C++ -*-===//
 
2
//
 
3
//                     The LLVM Compiler Infrastructure
 
4
//
 
5
// This file is distributed under the University of Illinois Open Source
 
6
// License. See LICENSE.TXT for details.
 
7
//
 
8
//===----------------------------------------------------------------------===//
 
9
//
 
10
// This file defines the target independent instruction opcodes.
 
11
//
 
12
//===----------------------------------------------------------------------===//
 
13
 
 
14
#ifndef LLVM_TARGET_TARGETOPCODES_H
 
15
#define LLVM_TARGET_TARGETOPCODES_H
 
16
 
 
17
namespace llvm {
 
18
 
 
19
/// Invariant opcodes: All instruction sets have these as their low opcodes.
 
20
///
 
21
/// Every instruction defined here must also appear in Target.td and the order
 
22
/// must be the same as in CodeGenTarget.cpp.
 
23
///
 
24
namespace TargetOpcode {
 
25
  enum {
 
26
    PHI = 0,
 
27
    INLINEASM = 1,
 
28
    PROLOG_LABEL = 2,
 
29
    EH_LABEL = 3,
 
30
    GC_LABEL = 4,
 
31
 
 
32
    /// KILL - This instruction is a noop that is used only to adjust the
 
33
    /// liveness of registers. This can be useful when dealing with
 
34
    /// sub-registers.
 
35
    KILL = 5,
 
36
 
 
37
    /// EXTRACT_SUBREG - This instruction takes two operands: a register
 
38
    /// that has subregisters, and a subregister index. It returns the
 
39
    /// extracted subregister value. This is commonly used to implement
 
40
    /// truncation operations on target architectures which support it.
 
41
    EXTRACT_SUBREG = 6,
 
42
 
 
43
    /// INSERT_SUBREG - This instruction takes three operands: a register that
 
44
    /// has subregisters, a register providing an insert value, and a
 
45
    /// subregister index. It returns the value of the first register with the
 
46
    /// value of the second register inserted. The first register is often
 
47
    /// defined by an IMPLICIT_DEF, because it is commonly used to implement
 
48
    /// anyext operations on target architectures which support it.
 
49
    INSERT_SUBREG = 7,
 
50
 
 
51
    /// IMPLICIT_DEF - This is the MachineInstr-level equivalent of undef.
 
52
    IMPLICIT_DEF = 8,
 
53
 
 
54
    /// SUBREG_TO_REG - This instruction is similar to INSERT_SUBREG except that
 
55
    /// the first operand is an immediate integer constant. This constant is
 
56
    /// often zero, because it is commonly used to assert that the instruction
 
57
    /// defining the register implicitly clears the high bits.
 
58
    SUBREG_TO_REG = 9,
 
59
 
 
60
    /// COPY_TO_REGCLASS - This instruction is a placeholder for a plain
 
61
    /// register-to-register copy into a specific register class. This is only
 
62
    /// used between instruction selection and MachineInstr creation, before
 
63
    /// virtual registers have been created for all the instructions, and it's
 
64
    /// only needed in cases where the register classes implied by the
 
65
    /// instructions are insufficient. It is emitted as a COPY MachineInstr.
 
66
    COPY_TO_REGCLASS = 10,
 
67
 
 
68
    /// DBG_VALUE - a mapping of the llvm.dbg.value intrinsic
 
69
    DBG_VALUE = 11,
 
70
 
 
71
    /// REG_SEQUENCE - This variadic instruction is used to form a register that
 
72
    /// represent a consecutive sequence of sub-registers. It's used as register
 
73
    /// coalescing / allocation aid and must be eliminated before code emission.
 
74
    /// e.g. v1027 = REG_SEQUENCE v1024, 3, v1025, 4, v1026, 5
 
75
    /// After register coalescing references of v1024 should be replace with
 
76
    /// v1027:3, v1025 with v1027:4, etc.
 
77
    REG_SEQUENCE = 12,
 
78
 
 
79
    /// COPY - Target-independent register copy. This instruction can also be
 
80
    /// used to copy between subregisters of virtual registers.
 
81
    COPY = 13
 
82
  };
 
83
} // end namespace TargetOpcode
 
84
} // end namespace llvm
 
85
 
 
86
#endif