Displaying 2 results from an estimated 2 matches for "optimized_test".
2015 Jul 22
2
[LLVMdev] is it impossible to use the external llvm custom pass on windows?
Hello all,
Still, is it impossible to use the external llvm custom pass on windows?
I can build the 'mypass.dll' on windows using LLVM libraries. And, I use
these 2 way to use my pass.
clang.exe -Xclang -load -Xclang mypass.dll -c test.c
opt.exe -load -Xclang mypass.dll -mypass test.bc -o optimized_test.bc
But, Clang and opt didn't working well with my pass.
This mean, my pass can dump the llvm::Module in compilation time. and my
pass can dump that on Linux. but, my pass didn't print anything on Windows.
Additionally, i already built the LLVM and Clang on Windows using CMake.
To avoi...
2015 Jul 22
1
[LLVMdev] is it impossible to use the external llvm custom pass on windows?
i want to use the external LLVM pass that built in out-of-source on windows.
and, my sample pass just dump the llvm::Module during compiling some source
code.
i use this command.
opt.exe -load -Xclang mypass.dll -mypass test.bc -o optimized_test.bc
so, as my expect,
my pass should dump the llvm::Module of 'test.bc',
but, i couldn't see anything in my console.
one the other hand, i can see the result of dump() on Linux with same
source code (testpass.cpp)
Thanks,
Seok Hong
2015-07-22 22:10 GMT+09:00 mats petersson <mats a...