1. Jun 04, 2021
    • Rosie Sumpter's avatar
    • Jeremy Morse's avatar
      [DebugInstrRef][2/3] Track PHI values through register coalescing · ae4303b4
      Jeremy Morse authored
      In the instruction referencing variable location model, we store variable
      locations that point at PHIs in MachineFunction during register
      allocation. Unfortunately, register coalescing can substantially change
      the locations of registers, and so that PHI-variable-location side table
      needs maintenence during the pass.
      
      This patch builds an index from the side table, and whenever a vreg gets
      coalesced into another vreg, update the index to record the new vreg that
      the PHI happens in. It also accepts a limited range of subregister
      coalescing, for example merging a subregister into a larger class.
      
      Differential Revision: https://reviews.llvm.org/D86813
      ae4303b4
    • Jez Ng's avatar
      [lld-macho] Parse re-exports of nested TAPI documents · 6881f29a
      Jez Ng authored
      D103423 neglected to call `parseReexports()` for nested TBD
      documents, leading to symbol resolution failures when trying to look up
      a symbol nested more than one level deep in a TBD file. This fixes the
      regression and adds a test.
      
      It also appears that `umbrella` wasn't being set properly when calling
      `parseLoadCommands` -- it's supposed to resolve to `this` if `nullptr`
      is passed. I didn't write a failing test case for this but I've made
      `umbrella` a member so the previous behavior should be preserved.
      
      Reviewed By: #lld-macho, thakis
      
      Differential Revision: https://reviews.llvm.org/D103586
      6881f29a
  2. Jun 03, 2021