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

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 06:06:52 PST 2024


================
@@ -5722,17 +5726,22 @@ void RewriteInstance::rewriteFile() {
 
   // Write all allocatable sections - reloc-mode text is written here as well
   for (BinarySection &Section : BC->allocatableSections()) {
-    if (!Section.isFinalized() || !Section.getOutputData())
+    if (!Section.isFinalized() || !Section.getOutputData()) {
+      BC->outs() << "BOLT: new section is finalized or !getOutputData, skip " << Section.getName() << '\n';
----------------
aaupov wrote:

LLVM_DEBUG statements are only enabled in debug build mode, and only printed if either `-debug` or corresponding `-debug-only` is set at runtime. Verbosity controls the amount of logging in normal execution mode, controlled by `-v=N` switch. The two are orthogonal.

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


More information about the llvm-commits mailing list