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