1. Jan 16, 2020
  2. Jan 15, 2020
    • Hubert Tong's avatar
      DWARFDebugLine.cpp: Format unknown line number standard opcodes · 63b428e3
      Hubert Tong authored
      Summary:
      This patch implements `formatv()` formatting for `dwarf::LineNumberOps`
      and makes use of it for the `llvm-dwarfdump --debug-line` dump.
      
      Previously, unknown line number standard opcodes would lead to undefined
      behaviour. The code would attempt to format the data pointer of an empty
      `StringRef` (a null pointer) using `%s`. According to the description
      for `format()`, use of that interface carries the "risk of `printf`".
      Passing a null pointer in place of an array to a C library function
      results in undefined behaviour.
      
      Reviewers: jhenderson, daltenty, stevewan
      
      Reviewed By: jhenderson
      
      Subscribers: aprantl, hiraditya, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D72369
      63b428e3
    • Hubert Tong's avatar
      [CMake] Enable -qfuncsect when building with IBM XL · e429f24e
      Hubert Tong authored
      Summary:
      The IBM XL compiler uses `-qfuncsect` for `-ffunction-sections`.
      
      The comment about sanitizers and `-f[no-]function-sections` is corrected
      also, as it is pertinent to this patch.
      
      The sanitizer-related use of `-fno-function-sections` is associated with
      powerpc64le, a target for which there is an IBM XL compiler, so that use
      is updated in this patch to apply `-qnofuncsect` in case a build using
      the XL compiler is viable on that platform.
      
      This patch has been verified with the XL compiler on AIX only.
      
      Reviewers: daltenty, stevewan
      
      Reviewed By: daltenty
      
      Subscribers: mgorny, steven.zhang, #sanitizers, llvm-commits
      
      Tags: #sanitizers, #llvm
      
      Differential Revision: https://reviews.llvm.org/D72335
      e429f24e
    • Nicolas Vasilache's avatar
      ad7f4c11
    • Georgii Rymar's avatar
      [llvm-readobj][test] - Cleanup SHT_RELR sections testing. · 66a35d33
      Georgii Rymar authored
      After recent changes (D71872) in yaml2obj, it is possible so cleanup
      testing of the SHT_RELR sections.
      
      Differential revision: https://reviews.llvm.org/D71874
      66a35d33
    • Teresa Johnson's avatar
      Restore "[ThinLTO] Add additional ThinLTO pipeline testing with new PM" · 24a00ef2
      Teresa Johnson authored
      This restores 2af97be8 (reverted at
      6288f86e), with all the fixes I had
      applied at the time, along with a new fix for non-determinism in the
      ordering of a couple of passes due to being accessed as parameters on
      the same call.
      
      I've also added --dump-input=fail to the new tests so I can more
      thoroughly fix any additional failures.
      24a00ef2
    • Kadir Cetinkaya's avatar
      [clangd] Fix windows buildbots · 60adfb83
      Kadir Cetinkaya authored
      60adfb83