mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 22:34:39 +00:00
Do not construct debug scope if RootScope *is* null.
llvm-svn: 62209
This commit is contained in:
parent
da4930d361
commit
cf0db71b85
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user