[llvm-branch-commits] [llvm-gcc-branch] r70970 - /llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-debug.cpp
Bill Wendling
isanbard at gmail.com
Mon May 4 22:30:01 PDT 2009
Author: void
Date: Tue May 5 00:30:01 2009
New Revision: 70970
URL: http://llvm.org/viewvc/llvm-project?rev=70970&view=rev
Log:
--- Merging (from foreign repository) r70968 into '.':
U gcc/llvm-debug.cpp
Fix rdar://6856261 - llvm-gcc generates incorrect (and unnecessary) file and line info for DW_TAG_inheritance dies.
A location with a line # of 0 is not valid, and this isn't useful anyway.
Modified:
llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-debug.cpp
Modified: llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-debug.cpp?rev=70970&r1=70969&r2=70970&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-debug.cpp Tue May 5 00:30:01 2009
@@ -607,9 +607,8 @@
// FIXME : name, size, align etc...
DIType DTy =
DebugFactory.CreateDerivedType(DW_TAG_inheritance,
- findRegion(type),"",
- getOrCreateCompileUnit(Loc.file),
- 0,0,0,
+ findRegion(type), "",
+ llvm::DICompileUnit(), 0,0,0,
getINTEGER_CSTVal(BINFO_OFFSET(BInfo)),
0, BaseClass);
EltTys.push_back(DTy);
More information about the llvm-branch-commits
mailing list