[all-commits] [llvm/llvm-project] e194d8: [lldb/MachO] "Fix" intentional out-of-bounds error...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Dec 18 12:54:09 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e194d890126007bc8e5acb655f007ef76002edb7
      https://github.com/llvm/llvm-project/commit/e194d890126007bc8e5acb655f007ef76002edb7
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2019-12-18 (Wed, 18 Dec 2019)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp

  Log Message:
  -----------
  [lldb/MachO] "Fix" intentional out-of-bounds error (NFC)

Remove the hack that populates the cpsr register in the gpr struct by
writing past the end of the array. This was tripping up ASan.

Patch by: Reva Cuthbertson




More information about the All-commits mailing list