Skip to content
  • Peter Smith's avatar
    [ELF] Convert Thunks to use InputSectionDescriptions · 8e791463
    Peter Smith authored
    Thunks are now generated per InputSectionDescription instead of per
    OutputSection. This allows created ThunkSections to be inserted directly
    into InputSectionDescription.
    
    Changes in this patch:
    - Loop over InputSectionDescriptions to find relocations to Thunks
    - Generate a ThunkSection per InputSectionDescription
    - Remove synchronize() as we no longer need it
    - Move fabricateDefaultCommands() before createThunks
    
    Differential Revision: https://reviews.llvm.org/D33835
    
    llvm-svn: 304887
    8e791463
Loading