[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:34:56 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 9b0e1c2ca25be58ea29b318d3515e6171f25f0ea ac7288e0bbdad7d6cb5dd568169afcf4987e1fa1 -- bolt/test/lsda-section-name.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/bolt/test/lsda-section-name.cpp b/bolt/test/lsda-section-name.cpp
index 929b17f3b6..e3db4cc4ce 100644
--- a/bolt/test/lsda-section-name.cpp
+++ b/bolt/test/lsda-section-name.cpp
@@ -3,9 +3,8 @@
// 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
-// RUN: llvm-bolt %t -o %t.bolt
+// RUN: llvm-objcopy --rename-section .gcc_except_table=.gcc_except_table.main
+// %t RUN: llvm-readelf -SW %t | FileCheck %s RUN: llvm-bolt %t -o %t.bolt
// CHECK: .gcc_except_table.main
``````````
</details>
https://github.com/llvm/llvm-project/pull/94301
More information about the llvm-commits
mailing list