mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Unbreak DbgStopPointInst::getFileName().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57373 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c26101669
commit
ce91ec285d
@ -64,7 +64,7 @@ Value *DbgStopPointInst::getFileName() const {
|
||||
GlobalVariable *GV = cast<GlobalVariable>(getContext());
|
||||
if (!GV->hasInitializer()) return NULL;
|
||||
ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
|
||||
return CS->getOperand(4);
|
||||
return CS->getOperand(3);
|
||||
}
|
||||
|
||||
Value *DbgStopPointInst::getDirectory() const {
|
||||
|
Loading…
Reference in New Issue
Block a user