Skip to content

Commit c308c33

Browse files
committed
[BOLT] Enable hugify for AArch64
Remove bolt warning about additional huge page due to weird aslr mapping.
1 parent dbe2c8f commit c308c33

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

bolt/lib/Rewrite/RewriteInstance.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -599,12 +599,6 @@ Error RewriteInstance::discoverStorage() {
599599
// weird ASLR mapping addresses (4KB aligned)
600600
if (opts::Hugify && !BC->HasFixedLoadAddress) {
601601
NextAvailableAddress += BC->PageAlign;
602-
if (opts::Verbosity >= 1) {
603-
BC->outs()
604-
<< "BOLT-INFO: Hugify, Additional huge page from left side due to"
605-
<< "weird ASLR mapping addresses(4KB aligned): "
606-
<< NextAvailableAddress << '\n';
607-
}
608602
}
609603

610604
if (!opts::UseGnuStack && !BC->IsLinuxKernel) {

0 commit comments

Comments
 (0)