1. Dec 27, 2021
  2. Dec 26, 2021
    • Kazu Hirata's avatar
      [Orc] Remove a redundant declaration (NFC) · fc15fc57
      Kazu Hirata authored
      DebugUtils.h contains an identical declaration with a correct comment,
      namely:
      
        /// Render a LookupKind.
        raw_ostream &operator<<(raw_ostream &OS, const LookupKind &K);
      
      Identified with readability-redundant-declaration.
      fc15fc57
    • Arjun P's avatar
      Revert "[MLIR] Add forgotten directory Support to unittests cmake" · 21329068
      Arjun P authored
      This reverts commit 0c553cc1.
      
      This caused a buildbot failure (https://lab.llvm.org/buildbot#builders/197/builds/888).
      
      ```
      ******************** TEST 'ScudoStandalone-Unit :: ./ScudoUnitTest-aarch64-Test/ScudoCommonTest.ResidentMemorySize' FAILED ********************
      Script:
      --
      /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/projects/compiler-rt/lib/scudo/standalone/tests/./ScudoUnitTest-aarch64-Test --gtest_filter=ScudoCommonTest.ResidentMemorySize
      --
      Note: Google Test filter = ScudoCommonTest.ResidentMemorySize
      [==========] Running 1 test from 1 test suite.
      [----------] Global test environment set-up.
      [----------] 1 test from ScudoCommonTest
      [ RUN      ] ScudoCommonTest.ResidentMemorySize
      /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/compiler-rt/lib/scudo/standalone/tests/common_test.cpp:49: Failure
      Expected: (getResidentMemorySize()) > (OnStart + Size - Threshold), actual: 707358720 vs 943153152
      [  FAILED  ] ScudoCommonTest.ResidentMemorySize (21709 ms)
      [----------] 1 test from ScudoCommonTest (21709 ms total)
      [----------] Global test environment tear-down
      [==========] 1 test from 1 test suite ran. (21709 ms total)
      [  PASSED  ] 0 tests.
      [  FAILED  ] 1 test, listed below:
      [  FAILED  ] ScudoCommonTest.ResidentMemorySize
       1 FAILED TEST
      ********************
      ```
      21329068
    • Fangrui Song's avatar
      [ELF] Remove one redundant computeBinding · aabe901d
      Fangrui Song authored
      This does resolve the redundancy in includeInDynsym().
      aabe901d
    • Fangrui Song's avatar
      [ELF] reportRangeError: mention symbol name for non-STT_SECTION local symbols... · 20b4704d
      Fangrui Song authored
      [ELF] reportRangeError: mention symbol name for non-STT_SECTION local symbols like non-global symbols
      20b4704d
    • Fangrui Song's avatar
      [ELF] sortSymTabSymbols: change vector to SmallVector · 2c8ebab3
      Fangrui Song authored
      This function may take ~1% time. SmallVector<SymbolTableEntry, 0> is smaller (16 bytes
      instead of 24) and more efficient.
      2c8ebab3
    • Fangrui Song's avatar
    • Mehdi Amini's avatar
      Fix clang-tidy performance-move-const-arg in DLTI Dialect (NFC) · dabfefa4
      Mehdi Amini authored
      The const loop iterator was inhibiting the std::move().
      dabfefa4
    • David Blaikie's avatar
      DebugInfo: Don't hash DIE offsets before they're computed · 2bddab25
      David Blaikie authored
      Instead of hashing DIE offsets, hash DIE references the same as they
      would be when used outside of a loclist - that is, deep hash the type on
      first use, and hash the numbering on subsequent uses.
      
      This does produce different hashes for different type references, where
      it did not before (because we were hashing zero all the time - so it
      didn't matter what type was referenced, the hash would be identical).
      
      This also allows us to enforce that the DIE offset (& size) is not
      queried before it is used (which came up while investigating another bug
      recently).
      2bddab25
    • Fangrui Song's avatar
      [ELF] scanReloc: remove unused start parameter. NFC · a00f480f
      Fangrui Song authored
      This was once used as a workaround for detecting missing PPC64 TLSGD/TLSLD
      relocations produced by ancient IBM XL C/C++.
      a00f480f
    • Fangrui Song's avatar
      [ELF] De-template handleTlsRelocation. NFC · dd4f5d4a
      Fangrui Song authored
      dd4f5d4a
    • Arjun P's avatar
      [MLIR] Add forgotten directory Support to unittests cmake · 0c553cc1
      Arjun P authored
      The Support directory was removed from the unittests cmake when the directory
      was removed in 204c3b55. Subsequent commits
      added the directory back but seem to have missed adding it back to the cmake.
      
      This patch also removes MLIRSupportIndentedStream from the list of linked
      libraries to avoid an ODR violation (it's already part of MLIRSupport which
      is also being linked here). Otherwise ASAN complains:
      
      ```
      =================================================================
      ==102592==ERROR: AddressSanitizer: odr-violation (0x7fbdf214eee0):
        [1] size=120 'vtable for mlir::raw_indented_ostream' /home/arjun/llvm-project/mlir/lib/Support/IndentedOstream.cpp
        [2] size=120 'vtable for mlir::raw_indented_ostream' /home/arjun/llvm-project/mlir/lib/Support/IndentedOstream.cpp
      These globals were registered at these points:
        [1]:
          #0 0x28a71d in __asan_register_globals (/home/arjun/llvm-project/build/tools/mlir/unittests/Support/MLIRSupportTests+0x28a71d)
          #1 0x7fbdf214a61b in asan.module_ctor (/home/arjun/llvm-project/build/lib/libMLIRSupportIndentedOstream.so.14git+0x661b)
      
        [2]:
          #0 0x28a71d in __asan_register_globals (/home/arjun/llvm-project/build/tools/mlir/unittests/Support/MLIRSupportTests+0x28a71d)
          #1 0x7fbdf2061c4b in asan.module_ctor (/home/arjun/llvm-project/build/lib/libMLIRSupport.so.14git+0x11bc4b)
      
      ==102592==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
      SUMMARY AddressSanitizer: odr-violation: global 'vtable for mlir::raw_indented_ostream' at /home/arjun/llvm-project/mlir/lib/Support/IndentedOstream.cpp
      ==102592==ABORTING
      ```
      
      Reviewed By: jpienaar
      
      Differential Revision: https://reviews.llvm.org/D116027
      0c553cc1
    • Luís Ferreira's avatar
      [lldb] Add support for UTF-8 unicode formatting · 46cdcf08
      Luís Ferreira authored
      This patch adds missing formatting for UTF-8 unicode.
      
      Cross-referencing https://reviews.llvm.org/D66447
      
      Reviewed By: labath
      
      Differential Revision: https://reviews.llvm.org/D112564
      46cdcf08
    • Groverkss's avatar
      [MLIR][FlatAffineConstraints][NFC] Move some static functions to be available to Presburger/ · 5b2e611b
      Groverkss authored
      This patch moves some static functions from AffineStructures.cpp to
      Presburger/Utils.cpp and some to be private members of FlatAffineConstraints
      (which will later be moved to IntegerPolyhedron) to allow for a smoother
      transition for moving FlatAffineConstraints math functionality to
      Presburger/IntegerPolyhedron.
      
      This patch is part of a series of patches for moving math functionality to
      Presburger directory.
      
      Reviewed By: arjunp, bondhugula
      
      Differential Revision: https://reviews.llvm.org/D115869
      5b2e611b
  3. Dec 25, 2021
  4. Dec 24, 2021