aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJulian Lettner <julian.lettner@apple.com>2021-12-16 19:33:12 -0800
committerJulian Lettner <julian.lettner@apple.com>2021-12-17 15:38:08 -0800
commit4399f3b6b0df2aa2c57e4a3049f5494b53f6921c (patch)
treec0bd4d10ab6636071b01ba1d0972932752998ccf /clang/lib/Frontend/CompilerInvocation.cpp
parent96aa1e73b3da2252fda883d07cc0600167fc7c79 (diff)
downloadllvm-4399f3b6b0df2aa2c57e4a3049f5494b53f6921c.zip
llvm-4399f3b6b0df2aa2c57e4a3049f5494b53f6921c.tar.gz
llvm-4399f3b6b0df2aa2c57e4a3049f5494b53f6921c.tar.bz2
[TSan][Darwin] Make malloc_size interceptor more robust
Previously we would crash in the TSan runtime if the user program passes a pointer to `malloc_size()` that doesn't point into app memory. In these cases, `malloc_size()` should return 0. For ASan, we fixed a similar issue here: https://reviews.llvm.org/D15008 Radar-Id: rdar://problem/86213149 Differential Revision: https://reviews.llvm.org/D115947
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions