File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
SECTIONS {
2
- . = 0x400000 + SIZEOF_HEADERS ;
2
+ . = SIZEOF_HEADERS ;
3
3
.interp : { *(.interp) }
4
4
.note.gnu.build-id : { *(.note.gnu.build-id) }
5
+ . = 0x212e8;
5
6
.dynsym : { *(.dynsym) }
6
- . = 0x801000 ;
7
+ . = 0x31860 ;
7
8
.text : { *(.text*) }
8
- . = 0x803000 ;
9
+ . = 0x41c20 ;
9
10
.fini_array : { *(.fini_array) }
10
- . = 0x805000 ;
11
+ . = 0x54e18 ;
11
12
.data : { *(.data) }
12
- }
13
+ }
Original file line number Diff line number Diff line change 2
2
3
3
REQUIRES: system-linux, perf
4
4
5
- RUN: %clang %S/Inputs/perf_test.c -fuse-ld=lld -Wl,--script=%S/Inputs/perf_test.lds -o %t
5
+ RUN: %clang %S/Inputs/perf_test.c -fuse-ld=lld -pie - Wl,--script=%S/Inputs/perf_test.lds -o %t
6
6
RUN: perf record -Fmax -e cycles:u -o %t2 -- %t
7
7
RUN: perf2bolt %t -p=%t2 -o %t3 -nl -ignore-build-id --show-density \
8
8
RUN: --heatmap %t.hm 2>&1 | FileCheck %s
You can’t perform that action at this time.
0 commit comments