[all-commits] [llvm/llvm-project] 6b4f86: Reapply: [MachO] Add a test for detecting reserved...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Tue Jan 21 02:01:23 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b4f86f65f165249cbea1d23611ac97aeec7a082
      https://github.com/llvm/llvm-project/commit/6b4f86f65f165249cbea1d23611ac97aeec7a082
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp

  Log Message:
  -----------
  Reapply: [MachO] Add a test for detecting reserved unit length.

The test in the origin patch did not create a __debug_str section.
An UBSan check triggered when the corresponding pointer was dereferenced.

Differential Revision: https://reviews.llvm.org/D72695

This reapplies fcc08aa835de1e0c1f3e7e479917575e55433b68
which was reverted in b16f82ad3b095070729cde2873bd3a2e8ab35c0e.




More information about the All-commits mailing list