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

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


================
@@ -0,0 +1,453 @@
+# clang++ -fbasic-block-sections=all -ffunction-sections -g2 -gdwarf-5 -gsplit-dwarf
+# __attribute__((always_inline))
+# int doStuffOther(int val) {
+#   if (val)
+#     ++val;
+#   return val;
+# }
+# __attribute__((always_inline))
+# int doStuffOther2(int val) {
+#   int foo = 3;
+#   return val + foo;
+# }
+#
+#
+# int mainOther(int argc, const char** argv) {
----------------
ayermolo wrote:

I don't see mainOther symbol in your assembly....

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


More information about the llvm-commits mailing list