[llvm] Fix lsda-section-name adding back RUN line incorrectly removed in 6ef632ad36c522b0 (PR #94301)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 18:32:30 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-bolt

Author: Mehdi Amini (joker-eph)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/94301.diff


1 Files Affected:

- (modified) bolt/test/lsda-section-name.cpp (+1) 


``````````diff
diff --git a/bolt/test/lsda-section-name.cpp b/bolt/test/lsda-section-name.cpp
index 34a736f816264..929b17f3b63d4 100644
--- a/bolt/test/lsda-section-name.cpp
+++ b/bolt/test/lsda-section-name.cpp
@@ -1,6 +1,7 @@
 // This test check that LSDA section named by .gcc_except_table.main is
 // disassembled by BOLT.
 
+// RUN: %clang++ %cxxflags -O3 -no-pie -c %s -o %t.o
 // RUN: %clang++ %cxxflags -O3 -no-pie -fuse-ld=lld %t.o -o %t
 // RUN: llvm-objcopy --rename-section .gcc_except_table=.gcc_except_table.main %t
 // RUN: llvm-readelf -SW %t | FileCheck %s

``````````

</details>


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


More information about the llvm-commits mailing list