Skip to content

Commit 5fa2d53

Browse files
committed
fixup! remove type-unit special-case
1 parent 07ca5c9 commit 5fa2d53

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
@@ -288,15 +288,6 @@ static std::string MakeLLDBFuncAsmLabel(const DWARFDIE &die) {
288288
if (!cu)
289289
return {};
290290

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

0 commit comments

Comments
 (0)