search for: llvm_home_dir

Displaying 1 result from an estimated 1 matches for "llvm_home_dir".

2013 Sep 04
0
[LLVMdev] llvm-prof: Error opening 'llvmprof.out': Illegal seek
...while the llvmprof.out has not been generated. Below, the sequence of instructions that worked with me $ clang -03 -emit-llvm hello.c -c -o hello.bc $ opt -insert-edge-profiling hello.bc -o hello.profile.bc $ llc hello.profile.bc -o hello.profile.s $ clang -o hello.profile hello.profile.s <LLVM_HOME_DIR>/build/Debug+Asserts/lib/libprofile_rt.so $ ./hello.profile $ llvm-prof hello.profile.bc and the output is: ===-------------------------------------------------------------------------=== LLVM profiling output for execution: ===-----------------------------------------------------------...