aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DWARFLinker
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-08-21 10:35:18 +0200
committerNikita Popov <npopov@redhat.com>2023-08-21 10:39:25 +0200
commitfab91e950966dbc5d3b59208e4dab274ac54e891 (patch)
tree980031c31718ad21e758a756bc0397d38d913b5f /llvm/lib/DWARFLinker
parent23c8d382583167812cfe59aed0d004bdbdcd9fba (diff)
downloadllvm-fab91e950966dbc5d3b59208e4dab274ac54e891.zip
llvm-fab91e950966dbc5d3b59208e4dab274ac54e891.tar.gz
llvm-fab91e950966dbc5d3b59208e4dab274ac54e891.tar.bz2
Revert "[Reland][DWARFLinkerParallel] Add limited functionality to DWARFLinkerParallel."
This reverts commit 0229dd0626b2538c78ebbd2b1bd44c31fbf1cdec. This introduces two test failures on s390x. tools/dsymutil/X86/location-expression.test: warning: cann't load line table. note: while processing CU1 /builddir/build/BUILD/llvm-18.0.0.src/test/tools/dsymutil/X86/location-expression.test:20:10: error: CHECK: expected string not found in input # CHECK: DW_AT_name{{.*}}"CU1" ^ <stdin>:34:32: note: scanning from here 0x0000000b: DW_TAG_compile_unit [1] * ^ <stdin>:37:2: note: possible intended match here DW_AT_name [DW_FORM_strp] ( .debug_str[0x09000000] = ) ^ tools/dsymutil/X86/tls-variable.test: warning: cann't load line table. note: while processing CU1 /builddir/build/BUILD/llvm-18.0.0.src/test/tools/dsymutil/X86/tls-variable.test:19:10: error: CHECK: expected string not found in input # CHECK: DW_AT_name{{.*}}"CU1" ^ <stdin>:26:32: note: scanning from here 0x0000000b: DW_TAG_compile_unit ^ <stdin>:29:2: note: possible intended match here DW_AT_name () ^
Diffstat (limited to 'llvm/lib/DWARFLinker')
-rw-r--r--llvm/lib/DWARFLinker/DWARFLinker.cpp2
-rw-r--r--llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/DWARFLinker/DWARFLinker.cpp b/llvm/lib/DWARFLinker/DWARFLinker.cpp
index ae95a30..dbbd1b4 100644
--- a/llvm/lib/DWARFLinker/DWARFLinker.cpp
+++ b/llvm/lib/DWARFLinker/DWARFLinker.cpp
@@ -444,10 +444,8 @@ DWARFLinker::getVariableRelocAdjustment(AddressesMap &RelocMgr,
const DWARFExpression::Operation &Op = *It;
switch (Op.getCode()) {
- case dwarf::DW_OP_const2u:
case dwarf::DW_OP_const4u:
case dwarf::DW_OP_const8u:
- case dwarf::DW_OP_const2s:
case dwarf::DW_OP_const4s:
case dwarf::DW_OP_const8s:
if (NextIt == Expression.end() || !isTlsAddressCode(NextIt->getCode()))
diff --git a/llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp b/llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp
index 06559bc..add0d94 100644
--- a/llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp
+++ b/llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp
@@ -97,10 +97,8 @@ void CompileUnit::markEverythingAsKept() {
++NextIt;
switch (It->getCode()) {
- case dwarf::DW_OP_const2u:
case dwarf::DW_OP_const4u:
case dwarf::DW_OP_const8u:
- case dwarf::DW_OP_const2s:
case dwarf::DW_OP_const4s:
case dwarf::DW_OP_const8s:
if (NextIt == Expression.end() ||