[PATCH] D139651: [BOLT][TEST] Limit iterations in X86/exceptions-pic.test
Amir Ayupov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 22 19:47:35 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0224bdce9263: [BOLT][TEST] Limit iterations in X86/exceptions-pic.test (authored by Amir).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139651/new/
https://reviews.llvm.org/D139651
Files:
bolt/test/runtime/X86/Inputs/exception4.cpp
bolt/test/runtime/X86/exceptions-pic.test
Index: bolt/test/runtime/X86/exceptions-pic.test
===================================================================
--- bolt/test/runtime/X86/exceptions-pic.test
+++ bolt/test/runtime/X86/exceptions-pic.test
@@ -3,10 +3,15 @@
REQUIRES: x86_64-linux
RUN: %clangxx -fpic -Wl,-q %S/Inputs/exception4.cpp -o %t.pic
-RUN: llvm-bolt %t.pic -o %t && %t 2>&1 | FileCheck %s
-RUN: llvm-bolt --relocs --use-old-text %t.pic -o %t && %t 2>&1 | FileCheck %s
-RUN: llvm-bolt %t.pic -o %t --split-functions --split-strategy=all --split-eh && \
-RUN: %t 2>&1 | FileCheck %s
+
+RUN: llvm-bolt %t.pic -o %t
+RUN: %t 2>&1 | FileCheck %s
+
+RUN: llvm-bolt --relocs --use-old-text %t.pic -o %t
+RUN: %t 2>&1 | FileCheck %s
+
+RUN: llvm-bolt %t.pic -o %t --split-functions --split-strategy=all --split-eh
+RUN: %t 2>&1 | FileCheck %s
CHECK: catch 2
CHECK-NEXT: catch 1
Index: bolt/test/runtime/X86/Inputs/exception4.cpp
===================================================================
--- bolt/test/runtime/X86/Inputs/exception4.cpp
+++ bolt/test/runtime/X86/Inputs/exception4.cpp
@@ -22,7 +22,7 @@
int main(int argc, char **argv)
{
- for(unsigned i = 0; i < 1000000; ++i) {
+ for (unsigned i = 0; i < 1000; ++i) {
try {
if (argc == 2) {
never_throws(); // should be cold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139651.485027.patch
Type: text/x-patch
Size: 1293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221223/01ccdc02/attachment.bin>
More information about the llvm-commits
mailing list