[PATCH] [prototype] Adding line table debug information to LLVM on Windows
NAKAMURA Takumi
geek4civic at gmail.com
Tue Jan 28 22:23:54 PST 2014
Reverted in r200375. It broke many llvm and clang tests, at least in msc17 builder.
================
Comment at: lib/CodeGen/AsmPrinter/AsmPrinter.cpp:198
@@ -195,3 +197,3 @@
if (MAI->doesSupportDebugInformation()) {
- DD = new DwarfDebug(this, &M);
- Handlers.push_back(HandlerInfo(DD, DbgTimerName, DWARFGroupName));
+ if (Triple(TM.getTargetTriple()).getOS() == Triple::Win32) {
+ Handlers.push_back(HandlerInfo(new WinCodeViewLineTables(this),
----------------
You should tweak more other tests (also in clang/test/CodeGen/ !) when you suppressed llvm::DwarfDebug.
You can reproduce such a case with LLVM_DEFAULT_TARGET_TRIPLE:=i686-pc-win32
http://llvm-reviews.chandlerc.com/D2232
More information about the llvm-commits
mailing list