[llvm-commits] [dragonegg] r94900 - /dragonegg/trunk/llvm-debug.cpp
Duncan Sands
baldrick at free.fr
Sat Jan 30 09:13:55 PST 2010
Author: baldrick
Date: Sat Jan 30 11:13:55 2010
New Revision: 94900
URL: http://llvm.org/viewvc/llvm-project?rev=94900&view=rev
Log:
Port commit 93950 (dpatel) from llvm-gcc:
Emitting linkage name for global variable confuses gdb. The debugger can find and print variable info based on its regular name.
Modified:
dragonegg/trunk/llvm-debug.cpp
Modified: dragonegg/trunk/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-debug.cpp?rev=94900&r1=94899&r2=94900&view=diff
==============================================================================
--- dragonegg/trunk/llvm-debug.cpp (original)
+++ dragonegg/trunk/llvm-debug.cpp Sat Jan 30 11:13:55 2010
@@ -420,8 +420,7 @@
}
DebugFactory.CreateGlobalVariable(findRegion(DECL_CONTEXT(decl)),
- DispName, DispName,
- getLinkageName(decl),
+ DispName, DispName, StringRef(),
getOrCreateCompileUnit(Loc.file), Loc.line,
TyD, GV->hasInternalLinkage(),
true/*definition*/, GV);
More information about the llvm-commits
mailing list