cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

dlowell
Staff

Toggle debug-pass llvm

Hi all,

I'm working with the OpenCL compiler stack, and I wanted to turn on the llvm flag "--debug-pass". I'm not sure how to activate it from the commandline if I am using say aoc, or aoc2.
I know I need to compile the llvm stack with debugging turned on, and I think I've done that. However, when I pass in --debug-pass to aoc it is considered an invalid option.

I probably need to insert it into a file somewhere, but where?
Any ideas would be greatly appreciated.

Thanks.

0 Likes
2 Replies
dipak
Big Boss

Hi,

I'm forwarding your question to the compiler team and will keep you updated.

Regards,

0 Likes

Hi,

Sorry for this late reply.

As I've been informed, “aoc2 –help” shows whole bunch of options that may help you. If you want to generate the debug logs, you can use “save-temps-all” option.

Regards,

0 Likes