Displaying 1 result from an estimated 1 matches for "isdeclarationforlink".
Did you mean:
isdeclarationforlinker
2017 Apr 05
2
Difference in EHType between ARM and AArch64
...ndlingType() != ExceptionHandling::DwarfCFI)*/*/
/**/ break;/*/
// for (auto &F: M.getFunctionList()) {//
// // If the module contains any function with unwind data,//
// // .eh_frame has to be emitted.//
// // Ignore functions that won't get emitted.//
// if (!F.isDeclarationForLinker() && F.needsUnwindTableEntry()) {//
//*isCFIMoveForDebugging = false;*//
// break;//
// }//
/
The ExceptionHandlingType for AArch64 is ExceptionHandling::DwarfCFI
whereas for ARM it is ExceptionHandling::ARM. As a result, the behavior
of the .cfi_sections differs for ARM vs...