forked from OSchip/llvm-project
parent
3ae6251ceb
commit
f06f583f1f
|
@ -72,7 +72,7 @@ void getDebugLocation(const Region *R, unsigned &LineBegin, unsigned &LineEnd,
|
||||||
if (!DL)
|
if (!DL)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
DIScope Scope = cast<MDScope>(DL.getScope());
|
auto *Scope = cast<MDScope>(DL.getScope());
|
||||||
|
|
||||||
if (FileName.empty())
|
if (FileName.empty())
|
||||||
FileName = Scope->getFilename();
|
FileName = Scope->getFilename();
|
||||||
|
|
Loading…
Reference in New Issue