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 11SECTIONS {
2- . = 0x400000 + SIZEOF_HEADERS ;
2+ . = SIZEOF_HEADERS ;
33 .interp : { *(.interp ) }
44 .note.gnu.build-id : { *(.note .gnu .build -id) }
5+ . = 0x212e8 ;
56 .dynsym : { *(.dynsym ) }
6- . = 0x801000 ;
7+ . = 0x31860 ;
78 .text : { *(.text *) }
8- . = 0x803000 ;
9+ . = 0x41c20 ;
910 .fini_array : { *(.fini_array ) }
10- . = 0x805000 ;
11+ . = 0x54e18 ;
1112 .data : { *(.data ) }
12- }
13+ }
Original file line number Diff line number Diff line change 22
33REQUIRES: system-linux, perf
44
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
66RUN: perf record -Fmax -e cycles:u -o %t2 -- %t
77RUN: perf2bolt %t -p=%t2 -o %t3 -nl -ignore-build-id --show-density \
88RUN: --heatmap %t.hm 2>&1 | FileCheck %s
You can’t perform that action at this time.
0 commit comments