[llvm] Fix lsda-section-name adding back RUN line incorrectly removed in 6ef632ad36c522b0 (PR #94301)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 18:32:00 PDT 2024
https://github.com/joker-eph created https://github.com/llvm/llvm-project/pull/94301
None
>From ac7288e0bbdad7d6cb5dd568169afcf4987e1fa1 Mon Sep 17 00:00:00 2001
From: Mehdi Amini <joker.eph at gmail.com>
Date: Mon, 3 Jun 2024 18:29:35 -0700
Subject: [PATCH] Fix lsda-section-name adding back RUN line incorrectly
removed in 6ef632ad36c522b0
---
bolt/test/lsda-section-name.cpp | 1 +
1 file changed, 1 insertion(+)
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
More information about the llvm-commits
mailing list