diff options
Diffstat (limited to 'llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp')
-rw-r--r-- | llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp b/llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp index 5bba1dea..cf3d884 100644 --- a/llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp +++ b/llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp @@ -22,7 +22,7 @@ using namespace object; using SectionPred = std::function<bool(const Section &Sec)>; static bool isDebugSection(const Section &Sec) { - return Sec.Name.starts_with(".debug"); + return Sec.Name.starts_with(".debug") || Sec.Name.starts_with("reloc..debug"); } static bool isLinkerSection(const Section &Sec) { |