LLVM-Tracer icon indicating copy to clipboard operation
LLVM-Tracer copied to clipboard

LLVM-Tracer/bin/get-labeled-stmts: Command not found

Open chiachia36 opened this issue 3 years ago • 2 comments

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!

chiachia36 avatar Jan 26 '22 14:01 chiachia36

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.

xyzsam avatar Feb 07 '22 23:02 xyzsam

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!

chiachia36 avatar Feb 13 '22 17:02 chiachia36