mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Previously we would insert StringRefs that reference the keys in the map, but that breaks if the invocation ever gets copied. Switch to `std::string`. rdar://148130166
6 lines
231 B
Swift
6 lines
231 B
Swift
// RUN: env DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib %sourcekitd-test -req=active-regions %s -- %s -module-name B -module-alias A=B
|
|
// Make sure we don't crash.
|
|
|
|
// guardmalloc is incompatible with ASAN
|
|
// REQUIRES: no_asan
|