[llvm] [BOLT] Enable hugify for AArch64 (PR #117158)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 06:14:41 PST 2024


================
@@ -582,8 +582,12 @@ Error RewriteInstance::discoverStorage() {
 
   // Hugify: Additional huge page from left side due to
   // weird ASLR mapping addresses (4KB aligned)
-  if (opts::Hugify && !BC->HasFixedLoadAddress)
+  if (opts::Hugify && !BC->HasFixedLoadAddress) {
     NextAvailableAddress += BC->PageAlign;
+    BC->outs() << "BOLT-INFO: Hugify, Additional huge page from left side due to"
----------------
alekuz01 wrote:

Done

https://github.com/llvm/llvm-project/pull/117158


More information about the llvm-commits mailing list