aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-02-26 16:34:29 +0200
committerMartin Storsjö <martin@martin.st>2021-05-01 09:26:23 +0300
commit0e8f5e4a6864839d2292ec1ddfe48b6178c01f85 (patch)
tree54aa34282cd02d185b38d89b1cbf4c93e517dd50 /clang/lib/Frontend/CompilerInvocation.cpp
parent4397b7095d640f9b9426c4d0135e999c5a1de1c5 (diff)
downloadllvm-0e8f5e4a6864839d2292ec1ddfe48b6178c01f85.zip
llvm-0e8f5e4a6864839d2292ec1ddfe48b6178c01f85.tar.gz
llvm-0e8f5e4a6864839d2292ec1ddfe48b6178c01f85.tar.bz2
[libcxx] [test] Skip alloc counter checks for operations within the libc++ DLL
If libc++ is built as a DLL, calls to operator new within the DLL aren't overridden if a user provides their own operator in calling code. Therefore, the alloc counter doesn't pick up on allocations done within std::string, so skip that check if running on windows. (Technically, we could keep the checks if running on windows when not built as a DLL, but trying to keep the conditionals simple.) Differential Revision: https://reviews.llvm.org/D100219
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions