[all-commits] [llvm/llvm-project] 534a87: [test][asan] Fix the test checks

Vitaly Buka via All-commits all-commits at lists.llvm.org
Sat Aug 3 12:57:31 PDT 2024


  Branch: refs/heads/users/vitalybuka/spr/asan-optimize-initialization-order-checking
  Home:   https://github.com/llvm/llvm-project
  Commit: 534a87301b82f8d914087a848a2e88b897c24644
      https://github.com/llvm/llvm-project/commit/534a87301b82f8d914087a848a2e88b897c24644
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M compiler-rt/test/asan/TestCases/initialization-nobug.cpp

  Log Message:
  -----------
  [test][asan] Fix the test checks

The test is intended to check the order of modules
in DynInitPoison, only relative to
DynInitUnpoison.

Folloup to #101584


  Commit: 09dd0febbbd59a0c470b3909690cae6618a2416a
      https://github.com/llvm/llvm-project/commit/09dd0febbbd59a0c470b3909690cae6618a2416a
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/OutputSections.cpp
    M lld/ELF/OutputSections.h
    M lld/ELF/Symbols.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/Target.cpp
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Move Out into Ctx. NFC

Ctx was introduced in March 2022 as a more suitable place for such
singletons. ctx's hidden visibility optimizes generated instructions.

bufferStart and tlsPhdr, which are not OutputSection, can now be moved
outside of `Out`.


  Commit: 03be619d9434de0a9616660a2119675635239a5b
      https://github.com/llvm/llvm-project/commit/03be619d9434de0a9616660a2119675635239a5b
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M lld/ELF/Arch/Mips.cpp
    M lld/ELF/Arch/RISCV.cpp
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/Symbols.cpp
    M lld/ELF/Symbols.h
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Move ElfSym into Ctx. NFC

Ctx was introduced in March 2022 as a more suitable place for such
singletons. ctx's hidden visibility optimizes generated instructions.

This change fixes a pitfall: certain ElfSym members (e.g.
globalOffsetTable, tlsModuleBase) were not zeroed and might be stale
when lld::elf::link was invoked the second time.


  Commit: 2fe3bbdf6744949ee30830adc30ae9980fa8f682
      https://github.com/llvm/llvm-project/commit/2fe3bbdf6744949ee30830adc30ae9980fa8f682
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M lld/ELF/AArch64ErrataFix.cpp
    M lld/ELF/ARMErrataFix.cpp
    M lld/ELF/Arch/LoongArch.cpp
    M lld/ELF/Arch/RISCV.cpp
    M lld/ELF/Arch/SystemZ.cpp
    M lld/ELF/Arch/X86_64.cpp
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/OutputSections.cpp
    M lld/ELF/OutputSections.h
    M lld/ELF/Relocations.cpp
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Move outputSections into Ctx. NFC

Ctx was introduced in March 2022 as a more suitable place for such
singletons.


  Commit: edf46f365cf4e7caccd7459ac1a6912de5096857
      https://github.com/llvm/llvm-project/commit/edf46f365cf4e7caccd7459ac1a6912de5096857
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M llvm/lib/Analysis/Delinearization.cpp
    M llvm/lib/Analysis/IVUsers.cpp
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Target/ARM/MVETailPredication.cpp
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/lib/Transforms/Scalar/LoopDeletion.cpp
    M llvm/lib/Transforms/Scalar/LoopPredication.cpp
    M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/unittests/Analysis/ScalarEvolutionTest.cpp
    M llvm/unittests/Transforms/Utils/LoopUtilsTest.cpp
    M llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp

  Log Message:
  -----------
  [SCEV] Use const SCEV * explicitly in more places.

Use const SCEV * explicitly in more places to prepare for
https://github.com/llvm/llvm-project/pull/91961. Split off as suggested.


  Commit: 85da96115e093dd847a8bd9e2f390e8a69b7fe24
      https://github.com/llvm/llvm-project/commit/85da96115e093dd847a8bd9e2f390e8a69b7fe24
  Author: vporpo <vporpodas at google.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/Tracker.h
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/lib/SandboxIR/Tracker.cpp
    M llvm/unittests/SandboxIR/TrackerTest.cpp

  Log Message:
  -----------
  [SandboxIR][Tracker] Track InsertIntoBB (#101595)

This patch implements tracking for the insertion of a
sandboxir::Instruction into a sandboxir::BasicBlock.


  Commit: 8252d4d4688f9248e351a396f9489f28972fe39b
      https://github.com/llvm/llvm-project/commit/8252d4d4688f9248e351a396f9489f28972fe39b
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/src/stdlib/CMakeLists.txt

  Log Message:
  -----------
  [libc] enable most of the entrypoints on aarch64 (#101797)

This is a non-feature change that enables most of the entrypoints for
aarch64 based runtime builds. It fixes an additional problem that some
compiler-rt targets are not defined at the time of dependency checking
thus leading to false-negatives.


  Commit: 3a7861ee2381bc3b60b906411f67a719b5d4292a
      https://github.com/llvm/llvm-project/commit/3a7861ee2381bc3b60b906411f67a719b5d4292a
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M compiler-rt/lib/asan/asan_globals.cpp

  Log Message:
  -----------
  [NFC][asan] Track current dynamic init module (#101597)

This patch allows sequences like:
`__asan_before_dynamic_init`
`__asan_before_dynamic_init`
...
`__asan_before_dynamic_init`
to do minimal incrementa poisoning.

It's NFC as now callbacks invokes in pairs:
`__asan_before_dynamic_init`
`__asan_after_dynamic_init`
`__asan_before_dynamic_init`
`__asan_after_dynamic_init`
and `__asan_after_dynamic_init` unpoisons
everything anyway.

For #101837


  Commit: 23c3e820d4edfd29685aaf5ab4160e958afbbca3
      https://github.com/llvm/llvm-project/commit/23c3e820d4edfd29685aaf5ab4160e958afbbca3
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M compiler-rt/test/asan/TestCases/initialization-nobug.cpp
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/src/stdlib/CMakeLists.txt
    M lld/ELF/AArch64ErrataFix.cpp
    M lld/ELF/ARMErrataFix.cpp
    M lld/ELF/Arch/LoongArch.cpp
    M lld/ELF/Arch/Mips.cpp
    M lld/ELF/Arch/RISCV.cpp
    M lld/ELF/Arch/SystemZ.cpp
    M lld/ELF/Arch/X86_64.cpp
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/OutputSections.cpp
    M lld/ELF/OutputSections.h
    M lld/ELF/Relocations.cpp
    M lld/ELF/Symbols.cpp
    M lld/ELF/Symbols.h
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/Target.cpp
    M lld/ELF/Writer.cpp
    M llvm/include/llvm/SandboxIR/Tracker.h
    M llvm/lib/Analysis/Delinearization.cpp
    M llvm/lib/Analysis/IVUsers.cpp
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/lib/SandboxIR/Tracker.cpp
    M llvm/lib/Target/ARM/MVETailPredication.cpp
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/lib/Transforms/Scalar/LoopDeletion.cpp
    M llvm/lib/Transforms/Scalar/LoopPredication.cpp
    M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/unittests/Analysis/ScalarEvolutionTest.cpp
    M llvm/unittests/SandboxIR/TrackerTest.cpp
    M llvm/unittests/Transforms/Utils/LoopUtilsTest.cpp
    M llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp

  Log Message:
  -----------
  rebaase

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/c16dcd8a04c7...23c3e820d4ed

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list