Skip to content

Commit 438f46e

Browse files
authored
[BOLT-TESTS] Add rocksdb.test (#34)
Reproduces emitLSDA quadratic behavior issue surfaced by llvm/llvm-project@b06e736
1 parent 651a5db commit 438f46e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
4.15 MB
Binary file not shown.

test/X86/rocksdb.test

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Reproduces emitLSDA quadratic behavior issue surfaced by
2+
## https://github.com/llvm/llvm-project/commit/b06e736982a3568fe2bcea8688550f9e393b7450
3+
## Before that commit, llvm-bolt finishes in 7.876s
4+
## With that commit, llvm-bolt runs longer than 2m
5+
6+
# RUN: mkdir -p %p/Output
7+
# RUN: test -f %p/Output/librocksdb.so.9.4.0 || \
8+
# RUN: unzstd %p/Inputs/librocksdb.so.9.4.0.zst \
9+
# RUN: -o %p/Output/librocksdb.so.9.4.0
10+
# RUN: llvm-bolt %p/Output/librocksdb.so.9.4.0 -o %t.null

0 commit comments

Comments
 (0)