[all-commits] [llvm/llvm-project] c79d48: [TSan] Ensure test uses tagged pointer
Julian Lettner via All-commits
all-commits at lists.llvm.org
Tue Oct 26 11:53:20 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c79d484ab1bf953089f3a21345f7d15ed611d533
https://github.com/llvm/llvm-project/commit/c79d484ab1bf953089f3a21345f7d15ed611d533
Author: Julian Lettner <julian.lettner at apple.com>
Date: 2021-10-26 (Tue, 26 Oct 2021)
Changed paths:
M compiler-rt/test/tsan/Darwin/objc-synchronize-cycle-tagged.mm
Log Message:
-----------
[TSan] Ensure test uses tagged pointer
This is a test-only failure. The test wrongly assumes that this gets us
a tagged pointer:
```
NSObject* num1 = @7;
assert(isTaggedPtr(num1));
```
However, on newer deployment targets that have “const data support” we
get a “normal” pointer to constant object.
Radar-Id: rdar://problem/83217293
More information about the All-commits
mailing list