1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Instrumentation
Peter Collingbourne a5ac850672 [dfsan] New calling convention for custom functions with variadic arguments.
Summary:
The previous calling convention prevented custom functions from being able
to access argument labels unless it knew how many variadic arguments there
were, and of which type. This restriction made it impossible to correctly
model functions in the printf family, as it is legal to pass more arguments
than required to those functions. We now pass arguments in the following order:

non-vararg arguments
labels for non-vararg arguments
[if vararg function, pointer to array of labels for vararg arguments]
[if non-void function, pointer to label for return value]
vararg arguments

Differential Revision: http://reviews.llvm.org/D6028

llvm-svn: 220906
2014-10-30 13:22:57 +00:00
..
AddressSanitizer [asan] experimental tracing for indirect calls, llvm part. 2014-10-27 18:13:56 +00:00
BoundsChecking Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
DataFlowSanitizer [dfsan] New calling convention for custom functions with variadic arguments. 2014-10-30 13:22:57 +00:00
MemorySanitizer [msan] Make -msan-check-constant-shadow a bit stronger. 2014-10-24 23:34:15 +00:00
ThreadSanitizer [TSan] Fixup a test case after r209939 2014-05-31 00:26:03 +00:00