Sameer Shende
Sameer Shende
I am unable to pass the -fplugin-arg-- properly. I am using TAU as the plugin name: cat plugins/llvm/src/Instrument.cpp: ... static RegisterPass X("TAU", "TAU Profiling", false, false); and invoking it as:...
We discussed the issue. The problem is that the hipcc script needs to be updated to support the -cc1 -load arguments. In ROCm 4.5.2, clang works well with the plugin...
Thanks for your help. Using -Xclang helped solve the issue: corona212{shende1}177: hipcc -Xclang -cc1 -Xclang -load -Xclang `pwd`/lib/PrintFunctionNames.so -Xclang -plugin -Xclang print-fns -Xclang -plugin-arg-print-fns -Xclang help householder3.c -c hipcc-cmd: "/opt/rocm-4.5.2/llvm/bin/clang"...
When I use the plugin options, with the older Clang 12 compilers, I could generate a .o file using clang -c, but with hipcc -cc1 -load .. -c, it doesn't...
Hi, While this -emit-obj argument works with -cc1 when no plugin is loaded, it does not work with the plugin. I see: % hipcc -Xclang -cc1 -Xclang -emit-obj -c foo.c...