mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
DebugInfo: Gut DISubprogram and DILexicalBlock*
Gut the `DIDescriptor` wrappers around `MDLocalScope` subclasses. Note that `DILexicalBlock` wraps `MDLexicalBlockBase`, not `MDLexicalBlock`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234850 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -192,7 +192,7 @@ void WinCodeViewLineTables::emitDebugInfoForFunction(const Function *GV) {
|
||||
StringRef GVName = GV->getName();
|
||||
StringRef FuncName;
|
||||
if (DISubprogram SP = getDISubprogram(GV))
|
||||
FuncName = SP.getDisplayName();
|
||||
FuncName = SP->getDisplayName();
|
||||
|
||||
// FIXME Clang currently sets DisplayName to "bar" for a C++
|
||||
// "namespace_foo::bar" function, see PR21528. Luckily, dbghelp.dll is trying
|
||||
|
Reference in New Issue
Block a user