[llvm] [BOLT][NFC] Add split-dwarf4 test with multiple CUs (PR #93741)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 17:00:32 PDT 2024


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

If you run BOLT manually you should see:
BOLT-WARNING: Debug Fission: DWO debug information for mainOther.dwo was not retrieved and won't be updated. Please check relative path.


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


More information about the llvm-commits mailing list