[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 16:30:02 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:
I am surprised -split-dwarf-file=other.dwo works considering in assembly dwo_name is mainother.dwo
https://github.com/llvm/llvm-project/pull/93741
More information about the llvm-commits
mailing list