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:
07c2a78
)
Do not construct debug scope if RootScope *is* null.
author
Devang Patel
<dpatel@apple.com>
Wed, 14 Jan 2009 01:34:32 +0000
(
01:34
+0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 14 Jan 2009 01:34:32 +0000
(
01:34
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62209
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index ec17c480df7955857a9dd68a91efbc65848fb1e7..0adbf174f157e1c85720533cf30405fa21653455 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@
-2091,7
+2091,7
@@
private:
void ConstructRootDbgScope(DbgScope *RootScope) {
// Exit if there is no root scope.
if (!RootScope) return;
- if (
!
RootScope->getDesc()->isNull()) return;
+ if (RootScope->getDesc()->isNull()) return;
// Get the subprogram debug information entry.
DISubprogram SPD(RootScope->getDesc()->getGV());