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

via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 20 04:18:39 PDT 2025


================
@@ -595,8 +595,15 @@ 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;
+    if (opts::Verbosity >= 1) {
+      BC->outs()
----------------
alekuz01 wrote:

Sure! Interesting point you proposed. It is unclear how could it be more helpful, could you elaborate on this to get more context regarding general functionality.  Hope the response to this comment will be prompt and helpful as usual.

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


More information about the llvm-commits mailing list