[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b
Török Edvin
edwin at clamav.net
Sun Apr 4 01:20:54 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 4ce9811bf0fe20c986047067c07f51218e985985
Author: Török Edvin <edwin at clamav.net>
Date: Mon Feb 15 18:34:57 2010 +0200
Update build files.
diff --git a/libclamav/c++/Makefile.am b/libclamav/c++/Makefile.am
index 24b27b6..0f0b07f 100644
--- a/libclamav/c++/Makefile.am
+++ b/libclamav/c++/Makefile.am
@@ -44,7 +44,9 @@ libclamavcxx_la_LIBADD=libllvmjit.la
libclamavcxx_la_DEPENDENCIES=libllvmjit.la libllvmcodegen.la libllvmsystem.la
libclamavcxx_la_LDFLAGS=-no-undefined
libclamavcxx_la_CXXFLAGS = $(LLVM_CXXFLAGS)
-libclamavcxx_la_SOURCES = bytecode2llvm.cpp ClamBCRTChecks.cpp ClamBCModule.h
+libclamavcxx_la_SOURCES = bytecode2llvm.cpp\
+ ClamBCRTChecks.cpp\
+ ClamBCModule.h
if BUILD_X86
libclamavcxx_la_LIBADD+=libllvmx86codegen.la
libclamavcxx_la_DEPENDENCIES+=libllvmx86codegen.la
@@ -398,13 +400,11 @@ libllvmpowerpccodegen_la_SOURCES=\
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp\
llvm/lib/Target/PowerPC/PPCJITInfo.cpp\
llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp\
- llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp\
llvm/lib/Target/PowerPC/PPCPredicates.cpp\
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp\
llvm/lib/Target/PowerPC/PPCSubtarget.cpp\
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp\
- llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp\
- llvm/lib/Target/TargetMachOWriterInfo.cpp
+ llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
endif
if BUILD_ARM
@@ -781,8 +781,7 @@ libllvmasmprinter_la_CPPFLAGS=$(LLVM_INCLUDES) $(LLVM_DEFS) -I$(top_srcdir)/llvm
libllvmasmprinter_la_SOURCES=\
llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp\
llvm/lib/CodeGen/ELFCodeEmitter.cpp\
- llvm/lib/CodeGen/ELFWriter.cpp\
- llvm/lib/CodeGen/MachOWriter.cpp
+ llvm/lib/CodeGen/ELFWriter.cpp
if BUILD_X86
libllvmasmprinter_la_SOURCES+=llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp\
diff --git a/libclamav/c++/Makefile.in b/libclamav/c++/Makefile.in
index 3d22bed..45b4375 100644
--- a/libclamav/c++/Makefile.in
+++ b/libclamav/c++/Makefile.in
@@ -187,7 +187,6 @@ am__libllvmasmprinter_la_SOURCES_DIST = \
llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp \
llvm/lib/CodeGen/ELFCodeEmitter.cpp \
llvm/lib/CodeGen/ELFWriter.cpp \
- llvm/lib/CodeGen/MachOWriter.cpp \
llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp \
llvm/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp \
llvm/lib/Target/X86/AsmPrinter/X86IntelInstPrinter.cpp \
@@ -210,8 +209,7 @@ am__libllvmasmprinter_la_SOURCES_DIST = \
am_libllvmasmprinter_la_OBJECTS = \
libllvmasmprinter_la-OcamlGCPrinter.lo \
libllvmasmprinter_la-ELFCodeEmitter.lo \
- libllvmasmprinter_la-ELFWriter.lo \
- libllvmasmprinter_la-MachOWriter.lo $(am__objects_1) \
+ libllvmasmprinter_la-ELFWriter.lo $(am__objects_1) \
$(am__objects_2) $(am__objects_3)
libllvmasmprinter_la_OBJECTS = $(am_libllvmasmprinter_la_OBJECTS)
libllvmbitreader_la_LIBADD =
@@ -318,13 +316,11 @@ am__libllvmpowerpccodegen_la_SOURCES_DIST = \
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp \
llvm/lib/Target/PowerPC/PPCJITInfo.cpp \
llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp \
- llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp \
llvm/lib/Target/PowerPC/PPCPredicates.cpp \
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp \
llvm/lib/Target/PowerPC/PPCSubtarget.cpp \
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp \
- llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp \
- llvm/lib/Target/TargetMachOWriterInfo.cpp
+ llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
@BUILD_PPC_TRUE at am_libllvmpowerpccodegen_la_OBJECTS = \
@BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PPCBranchSelector.lo \
@BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PPCCodeEmitter.lo \
@@ -334,13 +330,11 @@ am__libllvmpowerpccodegen_la_SOURCES_DIST = \
@BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PPCInstrInfo.lo \
@BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PPCJITInfo.lo \
@BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PPCMCAsmInfo.lo \
- at BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PPCMachOWriterInfo.lo \
@BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PPCPredicates.lo \
@BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PPCRegisterInfo.lo \
@BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PPCSubtarget.lo \
@BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PPCTargetMachine.lo \
- at BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PowerPCTargetInfo.lo \
- at BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-TargetMachOWriterInfo.lo
+ at BUILD_PPC_TRUE@ libllvmpowerpccodegen_la-PowerPCTargetInfo.lo
libllvmpowerpccodegen_la_OBJECTS = \
$(am_libllvmpowerpccodegen_la_OBJECTS)
@BUILD_PPC_TRUE at am_libllvmpowerpccodegen_la_rpath =
@@ -941,7 +935,10 @@ libclamavcxx_la_DEPENDENCIES = libllvmjit.la libllvmcodegen.la \
$(am__append_10)
libclamavcxx_la_LDFLAGS = -no-undefined
libclamavcxx_la_CXXFLAGS = $(LLVM_CXXFLAGS)
-libclamavcxx_la_SOURCES = bytecode2llvm.cpp ClamBCRTChecks.cpp ClamBCModule.h
+libclamavcxx_la_SOURCES = bytecode2llvm.cpp\
+ ClamBCRTChecks.cpp\
+ ClamBCModule.h
+
LLVM_CXXFLAGS = -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wno-variadic-macros
TBLGENFILES = llvm/include/llvm/Intrinsics.gen X86GenRegisterInfo.h.inc X86GenRegisterNames.inc X86GenRegisterInfo.inc X86GenInstrNames.inc X86GenInstrInfo.inc\
X86GenAsmWriter.inc X86GenAsmWriter1.inc X86GenAsmMatcher.inc X86GenDAGISel.inc X86GenFastISel.inc X86GenCallingConv.inc\
@@ -1160,13 +1157,11 @@ libllvmsupport_la_SOURCES = \
@BUILD_PPC_TRUE@ llvm/lib/Target/PowerPC/PPCInstrInfo.cpp\
@BUILD_PPC_TRUE@ llvm/lib/Target/PowerPC/PPCJITInfo.cpp\
@BUILD_PPC_TRUE@ llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp\
- at BUILD_PPC_TRUE@ llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp\
@BUILD_PPC_TRUE@ llvm/lib/Target/PowerPC/PPCPredicates.cpp\
@BUILD_PPC_TRUE@ llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp\
@BUILD_PPC_TRUE@ llvm/lib/Target/PowerPC/PPCSubtarget.cpp\
@BUILD_PPC_TRUE@ llvm/lib/Target/PowerPC/PPCTargetMachine.cpp\
- at BUILD_PPC_TRUE@ llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp\
- at BUILD_PPC_TRUE@ llvm/lib/Target/TargetMachOWriterInfo.cpp
+ at BUILD_PPC_TRUE@ llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
@BUILD_ARM_TRUE at libllvmarmcodegen_la_CPPFLAGS = $(LLVM_INCLUDES) $(LLVM_DEFS) -I$(top_builddir) -I$(top_srcdir)/llvm/lib/Target/ARM
@BUILD_ARM_TRUE at libllvmarmcodegen_la_SOURCES = \
@@ -1534,8 +1529,7 @@ libllvmasmprinter_la_CPPFLAGS = $(LLVM_INCLUDES) $(LLVM_DEFS) -I$(top_srcdir)/ll
libllvmasmprinter_la_SOURCES = \
llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp \
llvm/lib/CodeGen/ELFCodeEmitter.cpp \
- llvm/lib/CodeGen/ELFWriter.cpp \
- llvm/lib/CodeGen/MachOWriter.cpp $(am__append_14) \
+ llvm/lib/CodeGen/ELFWriter.cpp $(am__append_14) \
$(am__append_15) $(am__append_16)
libllvmfullcodegen_la_SOURCES = \
llvm/lib/CodeGen/GCMetadataPrinter.cpp\
@@ -2053,7 +2047,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmasmprinter_la-ARMMCInstLower.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmasmprinter_la-ELFCodeEmitter.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmasmprinter_la-ELFWriter.Plo at am__quote@
- at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmasmprinter_la-MachOWriter.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmasmprinter_la-OcamlGCPrinter.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmasmprinter_la-PPCAsmPrinter.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmasmprinter_la-X86ATTInstPrinter.Plo at am__quote@
@@ -2069,13 +2062,11 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmpowerpccodegen_la-PPCInstrInfo.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmpowerpccodegen_la-PPCJITInfo.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmpowerpccodegen_la-PPCMCAsmInfo.Plo at am__quote@
- at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmpowerpccodegen_la-PPCMachOWriterInfo.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmpowerpccodegen_la-PPCPredicates.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmpowerpccodegen_la-PPCRegisterInfo.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmpowerpccodegen_la-PPCSubtarget.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmpowerpccodegen_la-PPCTargetMachine.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmpowerpccodegen_la-PowerPCTargetInfo.Plo at am__quote@
- at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmpowerpccodegen_la-TargetMachOWriterInfo.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmx86codegen_la-MCAsmInfoCOFF.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmx86codegen_la-MCCodeEmitter.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libllvmx86codegen_la-MachineModuleInfoImpls.Plo at am__quote@
@@ -2739,14 +2730,6 @@ libllvmasmprinter_la-ELFWriter.lo: llvm/lib/CodeGen/ELFWriter.cpp
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libllvmasmprinter_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libllvmasmprinter_la-ELFWriter.lo `test -f 'llvm/lib/CodeGen/ELFWriter.cpp' || echo '$(srcdir)/'`llvm/lib/CodeGen/ELFWriter.cpp
-libllvmasmprinter_la-MachOWriter.lo: llvm/lib/CodeGen/MachOWriter.cpp
- at am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libllvmasmprinter_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libllvmasmprinter_la-MachOWriter.lo -MD -MP -MF $(DEPDIR)/libllvmasmprinter_la-MachOWriter.Tpo -c -o libllvmasmprinter_la-MachOWriter.lo `test -f 'llvm/lib/CodeGen/MachOWriter.cpp' || echo '$(srcdir)/'`llvm/lib/CodeGen/MachOWriter.cpp
- at am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libllvmasmprinter_la-MachOWriter.Tpo $(DEPDIR)/libllvmasmprinter_la-MachOWriter.Plo
- at am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='llvm/lib/CodeGen/MachOWriter.cpp' object='libllvmasmprinter_la-MachOWriter.lo' libtool=yes @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libllvmasmprinter_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libllvmasmprinter_la-MachOWriter.lo `test -f 'llvm/lib/CodeGen/MachOWriter.cpp' || echo '$(srcdir)/'`llvm/lib/CodeGen/MachOWriter.cpp
-
libllvmasmprinter_la-X86AsmPrinter.lo: llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libllvmasmprinter_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libllvmasmprinter_la-X86AsmPrinter.lo -MD -MP -MF $(DEPDIR)/libllvmasmprinter_la-X86AsmPrinter.Tpo -c -o libllvmasmprinter_la-X86AsmPrinter.lo `test -f 'llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp' || echo '$(srcdir)/'`llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libllvmasmprinter_la-X86AsmPrinter.Tpo $(DEPDIR)/libllvmasmprinter_la-X86AsmPrinter.Plo
@@ -4795,14 +4778,6 @@ libllvmpowerpccodegen_la-PPCMCAsmInfo.lo: llvm/lib/Target/PowerPC/PPCMCAsmInfo.c
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libllvmpowerpccodegen_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libllvmpowerpccodegen_la-PPCMCAsmInfo.lo `test -f 'llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp' || echo '$(srcdir)/'`llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp
-libllvmpowerpccodegen_la-PPCMachOWriterInfo.lo: llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp
- at am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libllvmpowerpccodegen_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libllvmpowerpccodegen_la-PPCMachOWriterInfo.lo -MD -MP -MF $(DEPDIR)/libllvmpowerpccodegen_la-PPCMachOWriterInfo.Tpo -c -o libllvmpowerpccodegen_la-PPCMachOWriterInfo.lo `test -f 'llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp' || echo '$(srcdir)/'`llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp
- at am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libllvmpowerpccodegen_la-PPCMachOWriterInfo.Tpo $(DEPDIR)/libllvmpowerpccodegen_la-PPCMachOWriterInfo.Plo
- at am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp' object='libllvmpowerpccodegen_la-PPCMachOWriterInfo.lo' libtool=yes @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libllvmpowerpccodegen_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libllvmpowerpccodegen_la-PPCMachOWriterInfo.lo `test -f 'llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp' || echo '$(srcdir)/'`llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp
-
libllvmpowerpccodegen_la-PPCPredicates.lo: llvm/lib/Target/PowerPC/PPCPredicates.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libllvmpowerpccodegen_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libllvmpowerpccodegen_la-PPCPredicates.lo -MD -MP -MF $(DEPDIR)/libllvmpowerpccodegen_la-PPCPredicates.Tpo -c -o libllvmpowerpccodegen_la-PPCPredicates.lo `test -f 'llvm/lib/Target/PowerPC/PPCPredicates.cpp' || echo '$(srcdir)/'`llvm/lib/Target/PowerPC/PPCPredicates.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libllvmpowerpccodegen_la-PPCPredicates.Tpo $(DEPDIR)/libllvmpowerpccodegen_la-PPCPredicates.Plo
@@ -4843,14 +4818,6 @@ libllvmpowerpccodegen_la-PowerPCTargetInfo.lo: llvm/lib/Target/PowerPC/TargetInf
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libllvmpowerpccodegen_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libllvmpowerpccodegen_la-PowerPCTargetInfo.lo `test -f 'llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp' || echo '$(srcdir)/'`llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
-libllvmpowerpccodegen_la-TargetMachOWriterInfo.lo: llvm/lib/Target/TargetMachOWriterInfo.cpp
- at am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libllvmpowerpccodegen_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libllvmpowerpccodegen_la-TargetMachOWriterInfo.lo -MD -MP -MF $(DEPDIR)/libllvmpowerpccodegen_la-TargetMachOWriterInfo.Tpo -c -o libllvmpowerpccodegen_la-TargetMachOWriterInfo.lo `test -f 'llvm/lib/Target/TargetMachOWriterInfo.cpp' || echo '$(srcdir)/'`llvm/lib/Target/TargetMachOWriterInfo.cpp
- at am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libllvmpowerpccodegen_la-TargetMachOWriterInfo.Tpo $(DEPDIR)/libllvmpowerpccodegen_la-TargetMachOWriterInfo.Plo
- at am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='llvm/lib/Target/TargetMachOWriterInfo.cpp' object='libllvmpowerpccodegen_la-TargetMachOWriterInfo.lo' libtool=yes @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libllvmpowerpccodegen_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libllvmpowerpccodegen_la-TargetMachOWriterInfo.lo `test -f 'llvm/lib/Target/TargetMachOWriterInfo.cpp' || echo '$(srcdir)/'`llvm/lib/Target/TargetMachOWriterInfo.cpp
-
APSInt.lo: llvm/lib/Support/APSInt.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT APSInt.lo -MD -MP -MF $(DEPDIR)/APSInt.Tpo -c -o APSInt.lo `test -f 'llvm/lib/Support/APSInt.cpp' || echo '$(srcdir)/'`llvm/lib/Support/APSInt.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/APSInt.Tpo $(DEPDIR)/APSInt.Plo
diff --git a/libclamav/c++/llvm/include/llvm/MC/MCParser/AsmCond.h b/libclamav/c++/llvm/include/llvm/MC/MCParser/AsmCond.h
new file mode 100644
index 0000000..92a115e
--- /dev/null
+++ b/libclamav/c++/llvm/include/llvm/MC/MCParser/AsmCond.h
@@ -0,0 +1,40 @@
+//===- AsmCond.h - Assembly file conditional assembly ----------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef ASMCOND_H
+#define ASMCOND_H
+
+namespace llvm {
+
+/// AsmCond - Class to support conditional assembly
+///
+/// The conditional assembly feature (.if, .else, .elseif and .endif) is
+/// implemented with AsmCond that tells us what we are in the middle of
+/// processing. Ignore can be either true or false. When true we are ignoring
+/// the block of code in the middle of a conditional.
+
+class AsmCond {
+public:
+ enum ConditionalAssemblyType {
+ NoCond, // no conditional is being processed
+ IfCond, // inside if conditional
+ ElseIfCond, // inside elseif conditional
+ ElseCond // inside else conditional
+ };
+
+ ConditionalAssemblyType TheCond;
+ bool CondMet;
+ bool Ignore;
+
+ AsmCond() : TheCond(NoCond), CondMet(false), Ignore(false) {}
+};
+
+} // end namespace llvm
+
+#endif
diff --git a/libclamav/c++/llvm/include/llvm/MC/MCParser/AsmLexer.h b/libclamav/c++/llvm/include/llvm/MC/MCParser/AsmLexer.h
new file mode 100644
index 0000000..cf6eefb
--- /dev/null
+++ b/libclamav/c++/llvm/include/llvm/MC/MCParser/AsmLexer.h
@@ -0,0 +1,72 @@
+//===- AsmLexer.h - Lexer for Assembly Files --------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This class declares the lexer for assembly files.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef ASMLEXER_H
+#define ASMLEXER_H
+
+#include "llvm/ADT/StringRef.h"
+#include "llvm/MC/MCParser/MCAsmLexer.h"
+#include "llvm/MC/MCAsmInfo.h"
+#include "llvm/System/DataTypes.h"
+#include <string>
+#include <cassert>
+
+namespace llvm {
+class MemoryBuffer;
+class SMLoc;
+class MCAsmInfo;
+
+/// AsmLexer - Lexer class for assembly files.
+class AsmLexer : public MCAsmLexer {
+ const MCAsmInfo &MAI;
+
+ const char *CurPtr;
+ const MemoryBuffer *CurBuf;
+
+ const char *TokStart;
+
+ void operator=(const AsmLexer&); // DO NOT IMPLEMENT
+ AsmLexer(const AsmLexer&); // DO NOT IMPLEMENT
+
+protected:
+ /// LexToken - Read the next token and return its code.
+ virtual AsmToken LexToken();
+
+public:
+ AsmLexer(const MCAsmInfo &MAI);
+ ~AsmLexer();
+
+ void setBuffer(const MemoryBuffer *buf, const char *ptr = NULL);
+
+ SMLoc getLoc() const;
+
+ StringRef LexUntilEndOfStatement();
+
+ bool isAtStartOfComment(char Char);
+
+ const MCAsmInfo &getMAI() const { return MAI; }
+
+private:
+ int getNextChar();
+ AsmToken ReturnError(const char *Loc, const std::string &Msg);
+
+ AsmToken LexIdentifier();
+ AsmToken LexSlash();
+ AsmToken LexLineComment();
+ AsmToken LexDigit();
+ AsmToken LexQuote();
+};
+
+} // end namespace llvm
+
+#endif
diff --git a/libclamav/c++/llvm/include/llvm/MC/MCParser/AsmParser.h b/libclamav/c++/llvm/include/llvm/MC/MCParser/AsmParser.h
new file mode 100644
index 0000000..829604c
--- /dev/null
+++ b/libclamav/c++/llvm/include/llvm/MC/MCParser/AsmParser.h
@@ -0,0 +1,178 @@
+//===- AsmParser.h - Parser for Assembly Files ------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This class declares the parser for assembly files.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef ASMPARSER_H
+#define ASMPARSER_H
+
+#include <vector>
+#include "llvm/MC/MCParser/AsmLexer.h"
+#include "llvm/MC/MCParser/AsmCond.h"
+#include "llvm/MC/MCParser/MCAsmParser.h"
+#include "llvm/MC/MCSectionMachO.h"
+#include "llvm/MC/MCStreamer.h"
+#include "llvm/MC/MCAsmInfo.h"
+#include "llvm/ADT/StringMap.h"
+
+namespace llvm {
+class AsmCond;
+class AsmToken;
+class MCContext;
+class MCExpr;
+class MCInst;
+class MCStreamer;
+class MCAsmInfo;
+class MCValue;
+class SourceMgr;
+class TargetAsmParser;
+class Twine;
+
+class AsmParser : public MCAsmParser {
+private:
+ AsmLexer Lexer;
+ MCContext &Ctx;
+ MCStreamer &Out;
+ SourceMgr &SrcMgr;
+ TargetAsmParser *TargetParser;
+
+ /// This is the current buffer index we're lexing from as managed by the
+ /// SourceMgr object.
+ int CurBuffer;
+
+ AsmCond TheCondState;
+ std::vector<AsmCond> TheCondStack;
+
+ // FIXME: Figure out where this should leave, the code is a copy of that which
+ // is also used by TargetLoweringObjectFile.
+ mutable void *SectionUniquingMap;
+
+ /// DirectiveMap - This is a table handlers for directives. Each handler is
+ /// invoked after the directive identifier is read and is responsible for
+ /// parsing and validating the rest of the directive. The handler is passed
+ /// in the directive name and the location of the directive keyword.
+ StringMap<bool(AsmParser::*)(StringRef, SMLoc)> DirectiveMap;
+public:
+ AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
+ const MCAsmInfo &MAI);
+ ~AsmParser();
+
+ bool Run();
+
+
+ void AddDirectiveHandler(StringRef Directive,
+ bool (AsmParser::*Handler)(StringRef, SMLoc)) {
+ DirectiveMap[Directive] = Handler;
+ }
+public:
+ TargetAsmParser &getTargetParser() const { return *TargetParser; }
+ void setTargetParser(TargetAsmParser &P) { TargetParser = &P; }
+
+ /// @name MCAsmParser Interface
+ /// {
+
+ virtual MCAsmLexer &getLexer() { return Lexer; }
+ virtual MCContext &getContext() { return Ctx; }
+ virtual MCStreamer &getStreamer() { return Out; }
+
+ virtual void Warning(SMLoc L, const Twine &Meg);
+ virtual bool Error(SMLoc L, const Twine &Msg);
+
+ const AsmToken &Lex();
+
+ bool ParseExpression(const MCExpr *&Res);
+ virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc);
+ virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc);
+ virtual bool ParseAbsoluteExpression(int64_t &Res);
+
+ /// }
+
+private:
+ MCSymbol *CreateSymbol(StringRef Name);
+
+ // FIXME: See comment on SectionUniquingMap.
+ const MCSection *getMachOSection(const StringRef &Segment,
+ const StringRef &Section,
+ unsigned TypeAndAttributes,
+ unsigned Reserved2,
+ SectionKind Kind) const;
+
+ bool ParseStatement();
+
+ bool TokError(const char *Msg);
+
+ void PrintMessage(SMLoc Loc, const std::string &Msg, const char *Type) const;
+
+ /// EnterIncludeFile - Enter the specified file. This returns true on failure.
+ bool EnterIncludeFile(const std::string &Filename);
+
+ bool ParseConditionalAssemblyDirectives(StringRef Directive,
+ SMLoc DirectiveLoc);
+ void EatToEndOfStatement();
+
+ bool ParseAssignment(const StringRef &Name);
+
+ bool ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc);
+ bool ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
+ bool ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
+
+ /// ParseIdentifier - Parse an identifier or string (as a quoted identifier)
+ /// and set \arg Res to the identifier contents.
+ bool ParseIdentifier(StringRef &Res);
+
+ // Directive Parsing.
+ bool ParseDirectiveDarwinSection(); // Darwin specific ".section".
+ bool ParseDirectiveSectionSwitch(const char *Segment, const char *Section,
+ unsigned TAA = 0, unsigned ImplicitAlign = 0,
+ unsigned StubSize = 0);
+ bool ParseDirectiveAscii(bool ZeroTerminated); // ".ascii", ".asciiz"
+ bool ParseDirectiveValue(unsigned Size); // ".byte", ".long", ...
+ bool ParseDirectiveFill(); // ".fill"
+ bool ParseDirectiveSpace(); // ".space"
+ bool ParseDirectiveSet(); // ".set"
+ bool ParseDirectiveOrg(); // ".org"
+ // ".align{,32}", ".p2align{,w,l}"
+ bool ParseDirectiveAlign(bool IsPow2, unsigned ValueSize);
+
+ /// ParseDirectiveSymbolAttribute - Parse a directive like ".globl" which
+ /// accepts a single symbol (which should be a label or an external).
+ bool ParseDirectiveSymbolAttribute(MCSymbolAttr Attr);
+ bool ParseDirectiveDarwinSymbolDesc(); // Darwin specific ".desc"
+ bool ParseDirectiveDarwinLsym(); // Darwin specific ".lsym"
+
+ bool ParseDirectiveComm(bool IsLocal); // ".comm" and ".lcomm"
+ bool ParseDirectiveDarwinZerofill(); // Darwin specific ".zerofill"
+
+ // Darwin specific ".subsections_via_symbols"
+ bool ParseDirectiveDarwinSubsectionsViaSymbols();
+ // Darwin specific .dump and .load
+ bool ParseDirectiveDarwinDumpOrLoad(SMLoc IDLoc, bool IsDump);
+
+ bool ParseDirectiveAbort(); // ".abort"
+ bool ParseDirectiveInclude(); // ".include"
+
+ bool ParseDirectiveIf(SMLoc DirectiveLoc); // ".if"
+ bool ParseDirectiveElseIf(SMLoc DirectiveLoc); // ".elseif"
+ bool ParseDirectiveElse(SMLoc DirectiveLoc); // ".else"
+ bool ParseDirectiveEndIf(SMLoc DirectiveLoc); // .endif
+
+ bool ParseDirectiveFile(StringRef, SMLoc DirectiveLoc); // ".file"
+ bool ParseDirectiveLine(StringRef, SMLoc DirectiveLoc); // ".line"
+ bool ParseDirectiveLoc(StringRef, SMLoc DirectiveLoc); // ".loc"
+
+ /// ParseEscapedString - Parse the current token as a string which may include
+ /// escaped characters and return the string contents.
+ bool ParseEscapedString(std::string &Data);
+};
+
+} // end namespace llvm
+
+#endif
diff --git a/libclamav/c++/llvm/include/llvm/MC/MCParser/MCAsmLexer.h b/libclamav/c++/llvm/include/llvm/MC/MCParser/MCAsmLexer.h
new file mode 100644
index 0000000..043c363
--- /dev/null
+++ b/libclamav/c++/llvm/include/llvm/MC/MCParser/MCAsmLexer.h
@@ -0,0 +1,171 @@
+//===-- llvm/MC/MCAsmLexer.h - Abstract Asm Lexer Interface -----*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_MC_MCASMLEXER_H
+#define LLVM_MC_MCASMLEXER_H
+
+#include "llvm/ADT/StringRef.h"
+#include "llvm/System/DataTypes.h"
+#include "llvm/Support/SMLoc.h"
+
+namespace llvm {
+class MCAsmLexer;
+class MCInst;
+class Target;
+
+/// AsmToken - Target independent representation for an assembler token.
+class AsmToken {
+public:
+ enum TokenKind {
+ // Markers
+ Eof, Error,
+
+ // String values.
+ Identifier,
+ String,
+
+ // Integer values.
+ Integer,
+
+ // Register values (stored in IntVal). Only used by TargetAsmLexer.
+ Register,
+
+ // No-value.
+ EndOfStatement,
+ Colon,
+ Plus, Minus, Tilde,
+ Slash, // '/'
+ LParen, RParen, LBrac, RBrac, LCurly, RCurly,
+ Star, Comma, Dollar, Equal, EqualEqual,
+
+ Pipe, PipePipe, Caret,
+ Amp, AmpAmp, Exclaim, ExclaimEqual, Percent, Hash,
+ Less, LessEqual, LessLess, LessGreater,
+ Greater, GreaterEqual, GreaterGreater
+ };
+
+ TokenKind Kind;
+
+ /// A reference to the entire token contents; this is always a pointer into
+ /// a memory buffer owned by the source manager.
+ StringRef Str;
+
+ int64_t IntVal;
+
+public:
+ AsmToken() {}
+ AsmToken(TokenKind _Kind, StringRef _Str, int64_t _IntVal = 0)
+ : Kind(_Kind), Str(_Str), IntVal(_IntVal) {}
+
+ TokenKind getKind() const { return Kind; }
+ bool is(TokenKind K) const { return Kind == K; }
+ bool isNot(TokenKind K) const { return Kind != K; }
+
+ SMLoc getLoc() const;
+
+ /// getStringContents - Get the contents of a string token (without quotes).
+ StringRef getStringContents() const {
+ assert(Kind == String && "This token isn't a string!");
+ return Str.slice(1, Str.size() - 1);
+ }
+
+ /// getIdentifier - Get the identifier string for the current token, which
+ /// should be an identifier or a string. This gets the portion of the string
+ /// which should be used as the identifier, e.g., it does not include the
+ /// quotes on strings.
+ StringRef getIdentifier() const {
+ if (Kind == Identifier)
+ return getString();
+ return getStringContents();
+ }
+
+ /// getString - Get the string for the current token, this includes all
+ /// characters (for example, the quotes on strings) in the token.
+ ///
+ /// The returned StringRef points into the source manager's memory buffer, and
+ /// is safe to store across calls to Lex().
+ StringRef getString() const { return Str; }
+
+ // FIXME: Don't compute this in advance, it makes every token larger, and is
+ // also not generally what we want (it is nicer for recovery etc. to lex 123br
+ // as a single token, then diagnose as an invalid number).
+ int64_t getIntVal() const {
+ assert(Kind == Integer && "This token isn't an integer!");
+ return IntVal;
+ }
+
+ /// getRegVal - Get the register number for the current token, which should
+ /// be a register.
+ unsigned getRegVal() const {
+ assert(Kind == Register && "This token isn't a register!");
+ return static_cast<unsigned>(IntVal);
+ }
+};
+
+/// MCAsmLexer - Generic assembler lexer interface, for use by target specific
+/// assembly lexers.
+class MCAsmLexer {
+ /// The current token, stored in the base class for faster access.
+ AsmToken CurTok;
+
+ /// The location and description of the current error
+ SMLoc ErrLoc;
+ std::string Err;
+
+ MCAsmLexer(const MCAsmLexer &); // DO NOT IMPLEMENT
+ void operator=(const MCAsmLexer &); // DO NOT IMPLEMENT
+protected: // Can only create subclasses.
+ MCAsmLexer();
+
+ virtual AsmToken LexToken() = 0;
+
+ void SetError(const SMLoc &errLoc, const std::string &err) {
+ ErrLoc = errLoc;
+ Err = err;
+ }
+
+public:
+ virtual ~MCAsmLexer();
+
+ /// Lex - Consume the next token from the input stream and return it.
+ ///
+ /// The lexer will continuosly return the end-of-file token once the end of
+ /// the main input file has been reached.
+ const AsmToken &Lex() {
+ return CurTok = LexToken();
+ }
+
+ /// getTok - Get the current (last) lexed token.
+ const AsmToken &getTok() {
+ return CurTok;
+ }
+
+ /// getErrLoc - Get the current error location
+ const SMLoc &getErrLoc() {
+ return ErrLoc;
+ }
+
+ /// getErr - Get the current error string
+ const std::string &getErr() {
+ return Err;
+ }
+
+ /// getKind - Get the kind of current token.
+ AsmToken::TokenKind getKind() const { return CurTok.getKind(); }
+
+ /// is - Check if the current token has kind \arg K.
+ bool is(AsmToken::TokenKind K) const { return CurTok.is(K); }
+
+ /// isNot - Check if the current token has kind \arg K.
+ bool isNot(AsmToken::TokenKind K) const { return CurTok.isNot(K); }
+};
+
+} // End llvm namespace
+
+#endif
diff --git a/libclamav/c++/llvm/include/llvm/MC/MCParser/MCAsmParser.h b/libclamav/c++/llvm/include/llvm/MC/MCParser/MCAsmParser.h
new file mode 100644
index 0000000..843c692
--- /dev/null
+++ b/libclamav/c++/llvm/include/llvm/MC/MCParser/MCAsmParser.h
@@ -0,0 +1,88 @@
+//===-- llvm/MC/MCAsmParser.h - Abstract Asm Parser Interface ---*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_MC_MCASMPARSER_H
+#define LLVM_MC_MCASMPARSER_H
+
+#include "llvm/System/DataTypes.h"
+
+namespace llvm {
+class AsmToken;
+class MCAsmLexer;
+class MCContext;
+class MCExpr;
+class MCStreamer;
+class MCValue;
+class SMLoc;
+class Twine;
+
+/// MCAsmParser - Generic assembler parser interface, for use by target specific
+/// assembly parsers.
+class MCAsmParser {
+ MCAsmParser(const MCAsmParser &); // DO NOT IMPLEMENT
+ void operator=(const MCAsmParser &); // DO NOT IMPLEMENT
+protected: // Can only create subclasses.
+ MCAsmParser();
+
+public:
+ virtual ~MCAsmParser();
+
+ virtual MCAsmLexer &getLexer() = 0;
+
+ virtual MCContext &getContext() = 0;
+
+ /// getSteamer - Return the output streamer for the assembler.
+ virtual MCStreamer &getStreamer() = 0;
+
+ /// Warning - Emit a warning at the location \arg L, with the message \arg
+ /// Msg.
+ virtual void Warning(SMLoc L, const Twine &Msg) = 0;
+
+ /// Warning - Emit an error at the location \arg L, with the message \arg
+ /// Msg.
+ ///
+ /// \return The return value is always true, as an idiomatic convenience to
+ /// clients.
+ virtual bool Error(SMLoc L, const Twine &Msg) = 0;
+
+ /// Lex - Get the next AsmToken in the stream, possibly handling file
+ /// inclusion first.
+ virtual const AsmToken &Lex() = 0;
+
+ /// getTok - Get the current AsmToken from the stream.
+ const AsmToken &getTok();
+
+ /// ParseExpression - Parse an arbitrary expression.
+ ///
+ /// @param Res - The value of the expression. The result is undefined
+ /// on error.
+ /// @result - False on success.
+ virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
+ bool ParseExpression(const MCExpr *&Res);
+
+ /// ParseParenExpression - Parse an arbitrary expression, assuming that an
+ /// initial '(' has already been consumed.
+ ///
+ /// @param Res - The value of the expression. The result is undefined
+ /// on error.
+ /// @result - False on success.
+ virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
+
+ /// ParseAbsoluteExpression - Parse an expression which must evaluate to an
+ /// absolute value.
+ ///
+ /// @param Res - The value of the absolute expression. The result is undefined
+ /// on error.
+ /// @result - False on success.
+ virtual bool ParseAbsoluteExpression(int64_t &Res) = 0;
+};
+
+} // End llvm namespace
+
+#endif
diff --git a/libclamav/c++/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h b/libclamav/c++/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h
new file mode 100644
index 0000000..7c2f5be
--- /dev/null
+++ b/libclamav/c++/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h
@@ -0,0 +1,33 @@
+//===-- llvm/MC/MCParsedAsmOperand.h - Asm Parser Operand -------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_MC_MCASMOPERAND_H
+#define LLVM_MC_MCASMOPERAND_H
+
+namespace llvm {
+class SMLoc;
+
+/// MCParsedAsmOperand - This abstract class represents a source-level assembly
+/// instruction operand. It should be subclassed by target-specific code. This
+/// base class is used by target-independent clients and is the interface
+/// between parsing an asm instruction and recognizing it.
+class MCParsedAsmOperand {
+public:
+ MCParsedAsmOperand() {}
+ virtual ~MCParsedAsmOperand() {}
+
+ /// getStartLoc - Get the location of the first token of this operand.
+ virtual SMLoc getStartLoc() const;
+ /// getEndLoc - Get the location of the last token of this operand.
+ virtual SMLoc getEndLoc() const;
+};
+
+} // end namespace llvm.
+
+#endif
diff --git a/libclamav/c++/strip-llvm.sh b/libclamav/c++/strip-llvm.sh
index 1f37a61..92f0244 100755
--- a/libclamav/c++/strip-llvm.sh
+++ b/libclamav/c++/strip-llvm.sh
@@ -23,7 +23,7 @@ for i in llvm/bindings/ llvm/examples/ llvm/projects/ llvm/runtime/\
llvm/tools/llvm-extract llvm/tools/llvm-ld llvm/tools/llvm-link llvm/tools/llvm-mc\
llvm/tools/llvm-nm llvm/tools/llvm-prof llvm/tools/llvm-ranlib\
llvm/tools/llvm-stub llvm/tools/lto llvm/tools/opt llvm/lib/MC/MCParser\
- llvm/tools/llvm-dis/Makefile llvm/include/llvm/MC/MCParser
+ llvm/tools/llvm-dis/Makefile
do
git rm -rf $i;
done
diff --git a/win32/LLVMcodegen.vcproj b/win32/LLVMcodegen.vcproj
index 847f93e..a0262cd 100644
--- a/win32/LLVMcodegen.vcproj
+++ b/win32/LLVMcodegen.vcproj
@@ -156,6 +156,18 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
+ RelativePath="..\libclamav\c++\llvm\lib\CodeGen\OptimizePHIs.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\libclamav\c++\llvm\lib\MC\MCNullStreamer.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\libclamav\c++\llvm\lib\CodeGen\DeadMachineInstructionElim.cpp"
+ >
+ </File>
+ <File
RelativePath="..\libclamav\c++\llvm\lib\Transforms\Utils\AddrModeMatcher.cpp"
>
</File>
@@ -400,10 +412,6 @@
>
</File>
<File
- RelativePath="..\libclamav\c++\llvm\lib\CodeGen\MachOWriter.cpp"
- >
- </File>
- <File
RelativePath="..\libclamav\c++\llvm\lib\MC\MCAsmInfoDarwin.cpp"
>
</File>
diff --git a/win32/LLVMjit.vcproj b/win32/LLVMjit.vcproj
index 604b504..67143ac 100644
--- a/win32/LLVMjit.vcproj
+++ b/win32/LLVMjit.vcproj
@@ -156,6 +156,10 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
+ RelativePath="..\libclamav\c++\llvm\lib\VMCore\GVMaterializer.cpp"
+ >
+ </File>
+ <File
RelativePath="..\libclamav\c++\llvm\lib\Analysis\PointerTracking.cpp"
>
</File>
@@ -408,10 +412,6 @@
>
</File>
<File
- RelativePath="..\libclamav\c++\llvm\lib\VMCore\ModuleProvider.cpp"
- >
- </File>
- <File
RelativePath="..\libclamav\c++\llvm\lib\CodeGen\ObjectCodeEmitter.cpp"
>
</File>
diff --git a/win32/LLVMx86codegen.vcproj b/win32/LLVMx86codegen.vcproj
index 4d6b717..0883c0f 100644
--- a/win32/LLVMx86codegen.vcproj
+++ b/win32/LLVMx86codegen.vcproj
@@ -154,7 +154,11 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
- RelativePath="..\libclamav\c++\llvm\lib\CodeGen\DeadMachineInstructionElim.cpp"
+ RelativePath="..\libclamav\c++\llvm\lib\Target\X86\X86MCCodeEmitter.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\libclamav\c++\llvm\lib\Target\X86\X86MCTargetExpr.cpp"
>
</File>
<File
diff --git a/win32/clamav-config.h b/win32/clamav-config.h
index 678abfc..00c0d69 100644
--- a/win32/clamav-config.h
+++ b/win32/clamav-config.h
@@ -493,7 +493,7 @@
/* #undef USE_SYSLOG */
/* Version number of package */
-#define VERSION "devel-r5076-801-gf451cc9"
+#define VERSION "devel-r5076-23977-g44d98e9"
/* Version suffix for package */
#define VERSION_SUFFIX ""
diff --git a/win32/libclamavcxx.vcproj b/win32/libclamavcxx.vcproj
index 73ba469..ad1d4de 100644
--- a/win32/libclamavcxx.vcproj
+++ b/win32/libclamavcxx.vcproj
@@ -154,7 +154,11 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
- RelativePath="..\libclamav\c++\bytecode2llvm.cpp ClamBCRTChecks.cpp"
+ RelativePath="..\libclamav\c++\ClamBCRTChecks.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\libclamav\c++\bytecode2llvm.cpp"
>
</File>
</Filter>
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list