You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the ClangIR pipeline emits certain DINodes regardless of whether the -g option is specified. This occurs because the LLVM translation process automatically collects debug information from FusedLoc and other well-known constructs in the LLVM dialect, leading to their emission.
I haven't found any option to disable this behavior directly. A straightforward solution is to strip the debug information from the final LLVM module, similar to opt -strip-debug.
The text was updated successfully, but these errors were encountered:
Currently, the ClangIR pipeline emits certain DINodes regardless of whether the
-g
option is specified. This occurs because the LLVM translation process automatically collects debug information fromFusedLoc
and other well-known constructs in the LLVM dialect, leading to their emission.I haven't found any option to disable this behavior directly. A straightforward solution is to strip the debug information from the final LLVM module, similar to
opt -strip-debug
.The text was updated successfully, but these errors were encountered: