mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-24 07:01:35 +00:00
Fix the debug build breakage that getDiscriminator is called by mistake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253597 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ffe3b434e5
commit
564e87c060
@ -205,7 +205,8 @@ bool AddDiscriminators::runOnFunction(Function &F) {
|
||||
I.setDebugLoc(DILocation::get(Ctx, DIL->getLine(), DIL->getColumn(),
|
||||
NewScope, DIL->getInlinedAt()));
|
||||
DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":"
|
||||
<< DIL->getColumn() << ":" << NewScope->getDiscriminator()
|
||||
<< DIL->getColumn() << ":"
|
||||
<< dyn_cast<DILexicalBlockFile>(NewScope)->getDiscriminator()
|
||||
<< I << "\n");
|
||||
Changed = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user