[llvm] [BOLT][NFC] Add tests with multiple CUs (PR #93615)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 17:28:18 PDT 2024
================
@@ -0,0 +1,24 @@
+# REQUIRES: system-linux
+
+# RUN: llvm-mc -dwarf-version=4 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf4-subprogram-multiple-ranges-main.s -o %t1.o
+# RUN: llvm-mc -dwarf-version=4 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf4-subprogram-multiple-ranges-other.s -o %t1.o
----------------
ayermolo wrote:
You are overriding object file.
Line below should have two object files as input.
Once that is fixed, you should see linker error, because your new inputs have exact the same function names.
https://github.com/llvm/llvm-project/pull/93615
More information about the llvm-commits
mailing list