Skip to content
  1. Feb 29, 2020
  2. Feb 28, 2020
    • Michael Spencer's avatar
      [llvm][Support][modulemap] Exclude WindowsSupport.h from the LLVM_Util module · 0b6abe42
      Michael Spencer authored
      rG01f9abbb50b1 moved WindowsSupport.h to include/llvm/Support/Windows/
      
      This is a problem because the modulemap include all of the Support and
      ADT directories, thus any use of any header in Support or ADT would
      cause the compiler to try to build WindowsSupport.h, which only works
      on Windows.
      
      Fix this by explicitly excluding WindowsSupport.h from the LLVM_Util
      module.
      0b6abe42
    • Vedant Kumar's avatar
    • Vedant Kumar's avatar
      [entry values] ARM: Add a describeLoadedValue override (PR45025) · 0368b422
      Vedant Kumar authored
      As a narrow stopgap for the assertion failure described in PR45025, add
      a describeLoadedValue override to ARMBaseInstrInfo and use it to detect
      copies in which the forwarding reg is a super/sub reg of the copy
      destination. For the moment this is unsupported.
      
      Several follow ups are possible:
      
      1) Handle VORRq. At the moment, we do not, because isCopyInstrImpl
         returns early when !MI.isMoveReg().
      
      2) In the case where forwarding reg is a super-reg of the copy
         destination, we should be able to describe the forwarding reg as a
         subreg within the copy destination. I'm not 100% sure about this, but
         it looks like that's what's done in AArch64InstrInfo.
      
      3) In the case where the forwarding reg is a sub-reg of the copy
         destination, maybe we could describe the forwarding reg using the
         copy destinaion and a DW_OP_LLVM_fragment (I guess this should be
         possible after D75036).
      
      https://bugs.llvm.org/show_bug.cgi?id=45025
      rdar://59772698
      
      Differential Revision: https://reviews.llvm.org/D75273
      0368b422
    • Matt Morehouse's avatar
      [DFSan] Add __dfsan_load_callback. · 52f889ab
      Matt Morehouse authored
      Summary:
      When -dfsan-event-callbacks is specified, insert a call to
      __dfsan_load_callback() on every load.
      
      Reviewers: vitalybuka, pcc, kcc
      
      Reviewed By: vitalybuka, kcc
      
      Subscribers: hiraditya, #sanitizers, llvm-commits, eugenis, kcc
      
      Tags: #sanitizers, #llvm
      
      Differential Revision: https://reviews.llvm.org/D75363
      52f889ab
Loading