[all-commits] [llvm/llvm-project] beb3d4: [ORC-RT] Fix objc selector corruption

Ben Langmuir via All-commits all-commits at lists.llvm.org
Wed Oct 27 16:03:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: beb3d48262bc541755d2f829b83b5f1e26d6d0b1
      https://github.com/llvm/llvm-project/commit/beb3d48262bc541755d2f829b83b5f1e26d6d0b1
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M compiler-rt/lib/orc/macho_platform.cpp

  Log Message:
  -----------
  [ORC-RT] Fix objc selector corruption

We were writing a pointer to a selector string into the contents of a
string instead of overwriting the pointer to the string, leading to
corruption. This was causing non-deterministic failures of the
'trivial-objc-methods' test case.

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




More information about the All-commits mailing list