DependableSystemsLab / LLFI

LLFI is an LLVM based fault injection tool, that injects faults into the LLVM IR of the application source code. The faults can be injected into specific program points, and the effect can be easily tracked back to the source code. Please refer to the paper below. NOTE: If you publish a paper using LLFI, please add it to PaperLLFI.bib
http://blogs.ubc.ca/karthik/2014/02/23/quantifying-the-accuracy-of-high-level-fault-injection-techniques/
Other
66 stars 36 forks source link

Undefined symbols for architecture arm64 #129

Open Jyotinag opened 2 years ago

Jyotinag commented 2 years ago

Undefined symbols for architecture arm64: "___msan_allocated_memory", referenced from: llvm::BumpPtrAllocator::Allocate(unsigned long, unsigned long) in libLLVMSupport.a(Allocator.cpp.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [bin/llvm-tblgen] Error 1 make[1]: [utils/TableGen/CMakeFiles/llvm-tblgen.dir/all] Error 2

I am on an apple silicon Mac. I am getting this error and I get that the error is because of the Architecture. Are there any solutions to this? I can use the latest llvm just fine.