search for: compilefordebugging

Displaying 1 result from an estimated 1 matches for "compilefordebugging".

2012 Nov 27
1
[LLVMdev] Purpose of -debug-compile in NVPTX backend
...mation is supported (e.g. SupportsDebugInformation = true / false) - if I don't want to output debug information then I can use the (hidden) command line option -disable-debug-info-print (defined in DwarfDebug.cpp). However, in NVPTXMCAsmInfo.cpp I found: - a new command line option: bool CompileForDebugging; static cl::opt<bool, true> Debug("debug-compile", cl::desc("Compile for debugging"), cl::Hidden, cl::location(CompileForDebugging), cl::init(false)); - and the assignment SupportsDebugInformation = CompileForDebugging; Isn't this redundant code? If...