aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2014-08-28 22:28:04 +0000
committerKostya Serebryany <kcc@google.com>2014-08-28 22:28:04 +0000
commitac7705527240893c2cac97d2303663e3802dc129 (patch)
tree50e9b923d8669edc47997d8d46a400fbb942373b /clang/lib/CodeGen/CodeGenModule.cpp
parentd07864a37ba2d03c440b210f1ab92aa81cd83399 (diff)
downloadllvm-ac7705527240893c2cac97d2303663e3802dc129.zip
llvm-ac7705527240893c2cac97d2303663e3802dc129.tar.gz
llvm-ac7705527240893c2cac97d2303663e3802dc129.tar.bz2
[asan] introduce __asan_load_cxx_array_cookie: check that the array cookie address is properly poisoned and return the cookie value. If not, return 0 to avoid infinite loop of DTORs (in case of use-after-free). Calls to this function will be inserted by clang (separate change)
llvm-svn: 216692
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions