Skip to content

Commit 712452b

Browse files
committed
Enable -fipa-pta by default for <FLAVOR>_LTO=full
1 parent 2c1726b commit 712452b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/gcc-wrapper/gcc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2904,6 +2904,7 @@ int main(int argc, char* argv[]) {
29042904

29052905
if (wants_lto == LTO_FULL) {
29062906
kargv_append(&xargv, GCC_OPT_F_DEVIRTUALIZE_AT_LTRANS);
2907+
kargv_append(&xargv, "-fipa-pta");
29072908
}
29082909
#endif
29092910
}

0 commit comments

Comments
 (0)