mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2026-05-04 13:43:17 -04:00
Add missing file.
This commit is contained in:
12
libclamav/c++/ClamBCModule.h
Normal file
12
libclamav/c++/ClamBCModule.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
namespace llvm {
|
||||
class Function;
|
||||
class Instruction;
|
||||
class Pass;
|
||||
}
|
||||
namespace ClamBCModule {
|
||||
static void stop(const char *msg, llvm::Function* F, llvm::Instruction* I) {
|
||||
llvm::errs() << msg << "\n";
|
||||
}
|
||||
}
|
||||
llvm::Pass *createClamBCRTChecks();
|
||||
@@ -44,7 +44,7 @@ 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
|
||||
libclamavcxx_la_SOURCES = bytecode2llvm.cpp ClamBCRTChecks.cpp ClamBCModule.h
|
||||
if BUILD_X86
|
||||
libclamavcxx_la_LIBADD+=libllvmx86codegen.la
|
||||
libclamavcxx_la_DEPENDENCIES+=libllvmx86codegen.la
|
||||
|
||||
@@ -930,7 +930,7 @@ 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
|
||||
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\
|
||||
|
||||
Reference in New Issue
Block a user