[llvm] [BOLT] Add support for Linux kernel .smp_locks section (PR #90798)

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 10:24:05 PDT 2024


================
@@ -0,0 +1,40 @@
+# REQUIRES: system-linux
+
+## Check that BOLT correctly parses and updates the Linux kernel .smp_locks
+## section.
+
+# RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s -o %t.o
----------------
dcci wrote:

thank you for writing the test, it's very useful.

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


More information about the llvm-commits mailing list