[all-commits] [llvm/llvm-project] 4517a3: [Darwin][ASan][Test] Create a unoptimized wrapper ...

Paddy McDonald via All-commits all-commits at lists.llvm.org
Fri Mar 21 17:17:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4517a332df63e4c77ff7dbdb12b428613d45fd62
      https://github.com/llvm/llvm-project/commit/4517a332df63e4c77ff7dbdb12b428613d45fd62
  Author: Paddy McDonald <paddy_mcdonald at apple.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Darwin/suppressions-sandbox.cpp

  Log Message:
  -----------
  [Darwin][ASan][Test] Create a unoptimized wrapper function in unsanitized dylib for reliable suppression in test. (#131906)

CFStringCreateWithBytes may not always appear on stack due to
optimizations.

Create a wrapper function for the purposes of testing suppression files
that will always appear on stack for test stability.

Test should be suppressing ASan for a function outside of sanitized
code.
Update function to be extern "C" to match function decoration in
original framework and avoid the leak caused by DemangleCXXABI.

rdar://144800068



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