Files
swift-mirror/test/Driver/sanitize_stable_abi.swift
usama 3053fe01b5 [Sanitizers] Add new sanitize-stable-abi flag for libsanitizers.
This patch adds a new flag sanitize-stable-abi to support linking
against the Sanitizers stable ABI added recently in compiler-rt. The
patch also passes extra options for the ASan pass when using this flag
to outline instrumentation code and remove version check.

rdar://112915278
2023-12-16 14:13:00 -08:00

7 lines
228 B
Swift

// REQUIRES: asan_runtime
// REQUIRES: platform=Darwin
// RUN: %swiftc_driver -driver-print-jobs -sanitize=address -sanitize-stable-abi %s 2>&1 | %FileCheck %s
// Link against stable ABI
// CHECK: libclang_rt.asan_abi{{.*}}.a