Skip to content
  1. Mar 03, 2022
    • Peter Klausler's avatar
      [flang] Extend ProvenanceRange::Suffix() to handle crash case · 93f42491
      Peter Klausler authored
      Suffix() can be called from AllSources::IntersectionWithSourceFiles()
      when a contiguous range of source provenance overlaps a macro expansion.
      It skips over the macro expansion and recurses on the remainder of
      the range, which might end with a bit that does overlap with a
      source file.  However, in the case where the original range is
      entirely within the expanded macro, Suffix() crashes when called
      with a skip offset greater than the size of the range.
      
      Rather than add logic around this and other calls to Suffix() to
      avoid passing an out-of-range skip, it's better to accommodate it
      in Suffix() and return an empty result.
      
      Differential Revision: https://reviews.llvm.org/D120843
      93f42491
    • Peter Klausler's avatar
      [flang] Avoid bogus warning from MSVC build · 79f8e909
      Peter Klausler authored
      And expand common::BitSet from 64 to 128 maximum elements.
      
      Differential Revision: https://reviews.llvm.org/D120848
      79f8e909
  2. Mar 02, 2022
Loading