projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1447f5c
)
use different name for parameter to make it clear that we set DIDescriptor::GV
author
Torok Edwin
<edwintorok@gmail.com>
Tue, 16 Dec 2008 09:06:01 +0000
(09:06 +0000)
committer
Torok Edwin
<edwintorok@gmail.com>
Tue, 16 Dec 2008 09:06:01 +0000
(09:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61083
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DebugInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DebugInfo.cpp
b/lib/Analysis/DebugInfo.cpp
index 29175a6a2d4e8bbf7f22182d2fde04a47636f83d..c46091c9554d3685d7ae5d4d447bd63e95222c5d 100644
(file)
--- a/
lib/Analysis/DebugInfo.cpp
+++ b/
lib/Analysis/DebugInfo.cpp
@@
-101,8
+101,8
@@
DIGlobalVariable::DIGlobalVariable(GlobalVariable *GV)
DIBlock::DIBlock(GlobalVariable *GV)
: DIDescriptor(GV, dwarf::DW_TAG_lexical_block) {}
// needed by DIVariable::getType()
-DIType::DIType(GlobalVariable *
GV) : DIDescriptor(GV
) {
- if (!
GV
) return;
+DIType::DIType(GlobalVariable *
gv) : DIDescriptor(gv
) {
+ if (!
gv
) return;
unsigned tag = getTag();
if (tag != dwarf::DW_TAG_base_type && !DIDerivedType::isDerivedType(tag) &&
!DICompositeType::isCompositeType(tag))