[llvm] [BOLT][DWARF][NFC] Add split-dwarf5 test with multiple CUs (PR #93744)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 13:52:59 PDT 2024


================
@@ -0,0 +1,87 @@
+; RUN: rm -rf %t
+; RUN: mkdir %t
+; RUN: cd %t
+; RUN: llvm-mc -dwarf-version=5 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf5-df-input-lowpc-ranges-main.s \
+; RUN: -split-dwarf-file=main.dwo -o main.o
+; RUN: llvm-mc -dwarf-version=5 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf5-df-input-lowpc-ranges-other.s \
+; RUN: -split-dwarf-file=mainOther.dwo -o other.o
+; RUN: %clang %cflags -gdwarf-4 -gsplit-dwarf=split main.o other.o -o main.exe
----------------
ayermolo wrote:

-gdwarf-4 -gsplit-dwarf=split is not necessary as we discussed

https://github.com/llvm/llvm-project/pull/93744


More information about the llvm-commits mailing list