From b1c73532ee8997fe5dfbeb7d223027bdf99758a0 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 9 Dec 2023 14:28:42 +0100 Subject: Vendor import of llvm-project main llvmorg-18-init-14265-ga17671084db1. --- llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp') diff --git a/llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp b/llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp index add0d94da73f..06559bc38c86 100644 --- a/llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp +++ b/llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp @@ -97,8 +97,10 @@ 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() || -- cgit v1.2.3