Skip to content

Commit 6507359

Browse files
committed
fixup! remove type-unit special-case
1 parent a35bb5a commit 6507359

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -287,15 +287,6 @@ static std::string MakeLLDBFuncAsmLabel(const DWARFDIE &die) {
287287
if (!cu)
288288
return {};
289289

290-
// FIXME: When resolving function call labels, we check that
291-
// that the definition's DW_AT_specification points to the
292-
// declaration that we encoded into the label here. But if the
293-
// declaration came from a type-unit (and the definition from
294-
// .debug_info), that check won't work. So for now, don't use
295-
// function call labels for declaration DIEs from type-units.
296-
if (cu->IsTypeUnit())
297-
return {};
298-
299290
SymbolFileDWARF *dwarf = die.GetDWARF();
300291
if (!dwarf)
301292
return {};

0 commit comments

Comments
 (0)