LLVM-Tracer
LLVM-Tracer copied to clipboard
LLVM-Tracer/bin/get-labeled-stmts: Command not found
Hi,
I tried to run example in playground
.
Before I ran the example, I built LLVM Tracer by following the steps in README.md
When I ran the example in
playground
, here is the error message I met.
When I built LLVM Tracer, I didn't have any error message.
However, there is not bin
directory in LLVM-Tracer.
How could I solve it?
Thanks!
Sorry, I missed this issue. Did you solve your issue? If not, what is the value of your TRACER_HOME?
Also I note that you're not using the Docker image - doing so will solve most of these environment related issues.
Sorry for the delay in responding. I try to use docker image, and it works.
I try to run the example test.cc
in playground.
However, I am still curious about the usage of LLVM Tracer.
After compiling the trace binary for test.cc, it produces few files. (full.llvm, full.s, labelmap, test-instrumented, test-opt.llvm, and test.llvm)
I check these files, and I find that test-opt.llvm and test.llvm are LLVMIR files.
Could you give me some hint to use LLVM-Tracer to check IR information?
Thanks!