harvard-acc / LLVM-Tracer

An LLVM pass to profile dynamic LLVM IR instructions and runtime values
Other
135 stars 35 forks source link

-fulltrace is not supported by opt #13

Closed z-a-f closed 7 years ago

z-a-f commented 8 years ago

opt from LLVM 3.4 doesn't support -fulltrace argument

ysshao commented 8 years ago

hi @zafartahirov , you need to load the full_trace.so to have opt take the -fulltrace argument like this:

opt -S -load=$TRACER_HOME/full-trace/full_trace.so -fulltrace triad.llvm -o triad-opt.llvm

let me know how it goes.

z-a-f commented 8 years ago

So far I couldn't get the opt ... -fulltrace to work on llvm 3.4 - it works on 3.5 fine. I think I have some problem with compilation using mixed versions. I will make an ISO with both 34 and 35 versions, will try to make sure it works for both - will ping back after that

xyzsam commented 7 years ago

Closing due to lack of discussion.