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

No dynamic_trace.gz generated while running *-instrumented

Open rem1A opened this issue 2 years ago • 2 comments

I am using LLVM-Tracer 6.0 ( not docker container ), and I have successfully compiled with this makefile: makefile.txt

but when I run the test-instrumented, there is no dynamic_trace.gz file that should have been generated.

here is the original file bfs.cpp and its input file: bfs&input file.zip

Are there any problems with my Makefile or sth else? I wonder why there is no 'dynamic_trace.gz' out.

Thank you very much!

rem1A avatar Dec 09 '22 11:12 rem1A

I have the same problem would you mind telling me if you figured out the problem?

nedasadat-taheri avatar May 04 '23 23:05 nedasadat-taheri

I am having the same problem with some C programs.

I'm using the next command to compile all the -instrumented files:

make trace-binary EXEC=fileName TOP_LEVEL=runMain* SUFFIX=c

Also, I added to my Makefile.tracer the -trace-all-callees parameter.

This worked for almost 55 small benchmarks but it failed for 18 of them, so I don't really know whats wrong with it.

Did someone solve it?

*runMain() is a function that does whatever the main() had to do.

jlm109-ua avatar Mar 25 '24 09:03 jlm109-ua