[llvm] [BOLT] Overwrite .eh_frame and .gcc_except_table (PR #116755)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 11:05:22 PST 2024


================
@@ -4347,6 +4377,9 @@ RewriteInstance::getOutputSections(ELFObjectFile<ELFT> *File,
     BinarySection *BinSec = BC->getSectionForSectionRef(SecRef);
     assert(BinSec && "Matching BinarySection should exist.");
 
+    if (BinSec->isAnonymous())
----------------
maksfb wrote:

We currently use anonymous sections to emit jump tables.

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


More information about the llvm-commits mailing list