Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chiachia36 opened this issue Jan 26, 2022 · 2 comments
Open

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

chiachia36 opened this issue Jan 26, 2022 · 2 comments

Comments

@chiachia36
Copy link

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!

@xyzsam
Copy link
Member

xyzsam commented Feb 7, 2022

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.

@chiachia36
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants