aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2018-09-06 15:14:36 +0000
committerAlexander Potapenko <glider@google.com>2018-09-06 15:14:36 +0000
commit7f270fcf0a9841795670e2763952a0dd562ba4ba (patch)
tree29f7d3e1adbdbcaeef20dfb76e73c165f83e176f /clang/lib/CodeGen/CodeGenModule.cpp
parent05a15afe6fa8fa1375f26532f741d48cc048ac65 (diff)
downloadllvm-7f270fcf0a9841795670e2763952a0dd562ba4ba.zip
llvm-7f270fcf0a9841795670e2763952a0dd562ba4ba.tar.gz
llvm-7f270fcf0a9841795670e2763952a0dd562ba4ba.tar.bz2
[MSan] store origins for variadic function parameters in __msan_va_arg_origin_tls
Add the __msan_va_arg_origin_tls TLS array to keep the origins for variadic function parameters. Change the instrumentation pass to store parameter origins in this array. This is a reland of r341528. test/msan/vararg.cc doesn't work on Mips, PPC and AArch64 (because this patch doesn't touch them), XFAIL these arches. Also turned out Clang crashed on i80 vararg arguments because of incorrect origin type returned by getOriginPtrForVAArgument() - fixed it and added a test. llvm-svn: 341554
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions