[cfe-commits] r117659 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Devang Patel
dpatel at apple.com
Fri Oct 29 09:21:19 PDT 2010
Author: dpatel
Date: Fri Oct 29 11:21:19 2010
New Revision: 117659
URL: http://llvm.org/viewvc/llvm-project?rev=117659&view=rev
Log:
After processing named unions do not fall through to handle anonymous unions.
This is tested by funcargs.exp in gdb testsuite.
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=117659&r1=117658&r2=117659&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Fri Oct 29 11:21:19 2010
@@ -1839,6 +1839,7 @@
DebugFactory.InsertDeclare(Storage, D, Builder.GetInsertBlock());
Call->setDebugLoc(llvm::DebugLoc::get(Line, Column, Scope));
+ return;
}
// If VD is an anonymous union then Storage represents value for
More information about the cfe-commits
mailing list