Commit d12829d
authored
[BOLT] Fix perf2bolt/perf_test.test (#154209)
The original test crashed with segmentation fault:
` perf_test.test.script: line 8: 1470352 Segmentation fault (core
dumped) perf record -Fmax -e cycles:u -o
/home/gpastukhov/llvm-build-release/tools/bolt/test/perf2bolt/Output/perf_test.test.tmp2
--
/home/gpastukhov/llvm-build-release/tools/bolt/test/perf2bolt/Output/perf_test.test.tmp
`
The crash happens if the compiler set up not to build PIE by default,
however the test expects PIE.1 parent f941769 commit d12829d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments