1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/tools
Jeff Cohen a38c737e85 When a function takes a variable number of pointer arguments, with a zero
pointer marking the end of the list, the zero *must* be cast to the pointer
type.  An un-cast zero is a 32-bit int, and at least on x86_64, gcc will
not extend the zero to 64 bits, thus allowing the upper 32 bits to be
random junk.

The new END_WITH_NULL macro may be used to annotate a such a function
so that GCC (version 4 or newer) will detect the use of un-casted zero
at compile time.

llvm-svn: 23888
2005-10-23 04:37:20 +00:00
..
analyze Two changes: 2005-04-22 17:14:14 +00:00
bugpoint When a function takes a variable number of pointer arguments, with a zero 2005-10-23 04:37:20 +00:00
gccas Move licm after reassociate, add some cond-propagate passes 2005-05-07 22:45:35 +00:00
gccld Fix PR637 2005-10-18 06:29:43 +00:00
llc document this as experimental 2005-10-22 22:00:45 +00:00
lli When a function takes a variable number of pointer arguments, with a zero 2005-10-23 04:37:20 +00:00
llvm-ar Final Changes For PR495: 2005-07-08 03:08:58 +00:00
llvm-as There are still uses for spaces in Makefiles -- to make text line up together, 2005-04-24 17:43:41 +00:00
llvm-bcanalyzer Remove trailing whitespace 2005-04-22 00:00:37 +00:00
llvm-db Remove trailing whitespace 2005-04-22 00:00:37 +00:00
llvm-dis Remove trailing whitespace 2005-04-22 00:00:37 +00:00
llvm-extract extract has been renamed to llvm-extract to avoid conflicting with another tool 2005-04-24 17:36:05 +00:00
llvm-ld Fix PR637 2005-10-18 06:29:43 +00:00
llvm-link For PR495: 2005-07-07 23:21:43 +00:00
llvm-nm For PR495: 2005-07-07 18:21:42 +00:00
llvm-prof There are still uses for spaces in Makefiles -- to make text line up together, 2005-04-24 17:43:41 +00:00
llvm-ranlib For PR495: 2005-07-07 23:21:43 +00:00
llvm-stub Incorporate the contents of include/llvm/Config/unistd.h as this is the 2004-12-20 04:34:36 +00:00
llvmc Implement PR614: 2005-08-27 18:50:39 +00:00
opt Two changes: 2005-04-22 17:14:14 +00:00
Makefile extract has been renamed to llvm-extract to avoid conflicting with another tool 2005-04-24 17:46:58 +00:00