[dragonegg] r218598 - Debug.cpp: s/createStaticVariable/CreateGlobalVariable/ corresponding to r218593.
NAKAMURA Takumi
geek4civic at gmail.com
Mon Sep 29 01:21:53 PDT 2014
Author: chapuni
Date: Mon Sep 29 03:21:53 2014
New Revision: 218598
URL: http://llvm.org/viewvc/llvm-project?rev=218598&view=rev
Log:
Debug.cpp: s/createStaticVariable/CreateGlobalVariable/ corresponding to r218593.
Modified:
dragonegg/trunk/src/Debug.cpp
Modified: dragonegg/trunk/src/Debug.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Debug.cpp?rev=218598&r1=218597&r2=218598&view=diff
==============================================================================
--- dragonegg/trunk/src/Debug.cpp (original)
+++ dragonegg/trunk/src/Debug.cpp Mon Sep 29 03:21:53 2014
@@ -422,7 +422,7 @@ void DebugInfo::EmitGlobalVariable(Globa
if (DECL_CONTEXT(decl))
if (!isa<FUNCTION_DECL>(DECL_CONTEXT(decl)))
LinkageName = GV->getName();
- Builder.createStaticVariable(
+ Builder.createGlobalVariable(
findRegion(DECL_CONTEXT(decl)), DispName, LinkageName,
getOrCreateFile(Loc.file), Loc.line, TyD, GV->hasInternalLinkage(), GV);
}
More information about the llvm-commits
mailing list