[all-commits] [llvm/llvm-project] 5279f9: [MachO] Fix detecting malformed DWARF.

Igor Kudrin via All-commits all-commits at lists.llvm.org
Tue Dec 17 00:03:49 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5279f96577af1457a973c071ec5ee3554c9f6cbe
      https://github.com/llvm/llvm-project/commit/5279f96577af1457a973c071ec5ee3554c9f6cbe
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2019-12-17 (Tue, 17 Dec 2019)

  Changed paths:
    M lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp

  Log Message:
  -----------
  [MachO] Fix detecting malformed DWARF.

This fixes an invalid constant used to detect the reserved range when
reading the compilation unit header. See also: D64622 and D65039.

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


  Commit: a57adc7a0b0dac5484f19f9061eba432d0db19e8
      https://github.com/llvm/llvm-project/commit/a57adc7a0b0dac5484f19f9061eba432d0db19e8
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2019-12-17 (Tue, 17 Dec 2019)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common.h
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_common_test.cpp

  Log Message:
  -----------
  [sanitizer] Construct InternalMmapVector without memory allocation.

Construction of InternalMmapVector is often followed by a call to
reserve(), which may result in immediate reallocation of the memory
for the internal storage. This patch delays that allocation until
it is really needed.

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


Compare: https://github.com/llvm/llvm-project/compare/3c6554be2e3c...a57adc7a0b0d


More information about the All-commits mailing list