[BOLT] Fix C++ exceptions for shared objects
Summary: Fix several issues to make C++ exceptions work in shared objects: * Set MCObjectFileInfo PIC type based on the input binary type. * Support indirect (DW_EH_PE_indirect) encoding while writing exception Type Table. * Use different LPStart value and landing pad encoding for .so's. * Disable splitting of exception-handling code for .so's because of the new encoding. (cherry picked from FBD24698765)
Loading
Please register or sign in to comment