Skip to content

Commit dbe2c8f

Browse files
committed
[BOLT] Enable hugify for AArch64
Add -fpic to the testin addition to -fPIE.
1 parent 95bfc77 commit dbe2c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/test/runtime/hugify.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ int main(int argc, char **argv) {
1111
REQUIRES: system-linux,bolt-runtime
1212
1313
RUN: %clang %cflags -no-pie %s -o %t.nopie.exe -Wl,-q
14-
RUN: %clang %cflags %s -o %t.pie.exe -Wl,-q
14+
RUN: %clang %cflags -fpic %s -o %t.pie.exe -Wl,-q
1515
1616
RUN: llvm-bolt %t.nopie.exe --lite=0 -o %t.nopie --hugify
1717
RUN: llvm-bolt %t.pie.exe --lite=0 -o %t.pie --hugify

0 commit comments

Comments
 (0)