summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/eh-label.ll
Commit message (Collapse)AuthorAgeFilesLines
* Emit smaller exception tables for non-SJLJ mode.Rafael Espindola2018-02-091-1/+1
| | | | | | | | | | | * Use uleb128 for code offsets in the LSDA call site table. * Omit the TTBase offset if the type table is empty. This change can reduce the size of the DWARF/Itanium LSDA by about half. Patch by Ryan Prichard! llvm-svn: 324750
* Move the personality function from LandingPadInst to FunctionDavid Majnemer2015-06-171-2/+2
| | | | | | | | | | | | | | | | | | | The personality routine currently lives in the LandingPadInst. This isn't desirable because: - All LandingPadInsts in the same function must have the same personality routine. This means that each LandingPadInst beyond the first has an operand which produces no additional information. - There is ongoing work to introduce EH IR constructs other than LandingPadInst. Moving the personality routine off of any one particular Instruction and onto the parent function seems a lot better than have N different places a personality function can sneak onto an exceptional function. Differential Revision: http://reviews.llvm.org/D10429 llvm-svn: 239940
* Drop the "eh_" from eh_func_begin and eh_func_end.Rafael Espindola2015-03-041-4/+4
| | | | | | They will be used for more than eh tables. llvm-svn: 231185
* Centralize handling of the eh_begin and eh_end labels.Rafael Espindola2015-02-271-0/+24
This removes a bit of duplicated code and more importantly, remembers the labels so that they don't need to be looked up by name. This in turn allows for any name to be used and avoids a crash if the name we wanted was already taken. llvm-svn: 230772
OpenPOWER on IntegriCloud