[llvm-dev] How to make .ll file compiled on linux work on mac? (original) (raw)
Peng Yu via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 24 21:39:35 PST 2019
- Previous message: [llvm-dev] What's definition to type of function in -fsanitize=cfi-icall in llvm/clang 7?
- Next message: [llvm-dev] How to make .ll file compiled on linux work on mac?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I got the following error when I run a bc file (compiled on Linux with -flto and ld.gold) on Mac. Is there an easy way to make it work on Mac? Thanks.
$ lli bash.0.0.preopt.bc Stack dump: 0. Program arguments: lli bash.0.0.preopt.bc 0 lli 0x0000000106a5d922 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37 1 lli 0x0000000106a5dd26 SignalHandler(int) + 200 2 libsystem_platform.dylib 0x00007fff56cfef5a _sigtramp + 26 3 libsystem_platform.dylib 0x00007ffee9762b90 _sigtramp + 2460367952 4 lli 0x00000001067df045 llvm::MCJIT::runFunction(llvm::Function*, llvm::ArrayRefllvm::GenericValue) + 535 5 lli 0x0000000106771ae7 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&, char const* const*) + 1159 6 lli 0x000000010649eb84 main + 9104 7 libdyld.dylib 0x00007fff569f0015 start + 1 8 libdyld.dylib 0x0000000000000002 start + 2841706478 Segmentation fault: 11
-- Regards, Peng
- Previous message: [llvm-dev] What's definition to type of function in -fsanitize=cfi-icall in llvm/clang 7?
- Next message: [llvm-dev] How to make .ll file compiled on linux work on mac?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]