mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 10:23:17 +00:00

Modified bytecode JIT code to support llvm versions 8, 9, 10, 11, 12. Additionally updated FindLLVM.cmake to the current version, found at https://github.com/ldc-developers/ldc/blob/master/cmake/Modules/FindLLVM.cmake, as well as making modifications suggested by Micah Snyder to check VERSION_LESS in CMakeLists.txt to avoid having modifications to FindLLVM.cmake.
11 lines
222 B
C++
11 lines
222 B
C++
#include "llvm/Support/raw_ostream.h"
|
|
namespace llvm
|
|
{
|
|
class Function;
|
|
class Instruction;
|
|
class Pass;
|
|
} // namespace llvm
|
|
namespace ClamBCModule
|
|
{
|
|
void stop(const char* msg, llvm::Function* F, llvm::Instruction* I = 0);
|
|
}
|