1. Sep 06, 2020
    • Lawrence D'Anna's avatar
      scan-build-py: fix multiprocessing error · 0c642828
      Lawrence D'Anna authored
      Recent versions of python3's multiprocessing module will blow up with
      a Runtime error from this code, saying:
      
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase
      
      This is becuae the wrappers in bin/ are not using the  `__name__ == "__main__"`   idiom correctly.
      
      Reviewed By: ldionne
      
      Differential Revision: https://reviews.llvm.org/D87051
      0c642828
    • Jessica Clarke's avatar
      [ELF] Handle SHT_RISCV_ATTRIBUTES similarly to SHT_ARM_ATTRIBUTES · bef38e86
      Jessica Clarke authored
      Currently we treat SHT_RISCV_ATTRIBUTES like a normal section and
      concatenate all such input sections, yielding invalid output unless only
      a single attributes section is present in the input. Instead, pick the
      first as with SHT_ARM_ATTRIBUTES. We do not currently need to condition
      our behaviour on the contents, unlike Arm. In future, we should both do
      stricter validation of the input and merge all sections together to
      ensure we have, for example, the full arch string requirement, but this
      rudimentary implementation is good enough for most common cases.
      
      Reviewed By: MaskRay
      
      Differential Revision: https://reviews.llvm.org/D86309
      bef38e86
    • Aaron Puchert's avatar
      Attempt to fix Sphinx build failure, NFC · da6b3aa4
      Aaron Puchert authored
      A code block wasn't properly introduced.
      da6b3aa4
    • Aaron Puchert's avatar
      Restore size of TemplateParameterList after D44352 · d3a779fe
      Aaron Puchert authored
      After adding a field of one bit, the bitfield members would take
      30+1+1+1 = 33 bits, causing the size of TemplateParameterList to
      increase from 16 to 24 bytes on 64-bit systems.
      
      With 29 bits for NumParams we can encode up to half a billion template
      parameters, which is almost certainly still enough for anybody.
      d3a779fe
  2. Sep 05, 2020