1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/Bytecode
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
..
Archive speed up Archive::isBytecodeArchive in the case when the archive doesn't have 2005-09-23 06:22:58 +00:00
Reader When a function takes a variable number of pointer arguments, with a zero 2005-10-23 04:37:20 +00:00
Writer Culling out use of unions for converting FP to bits and vice versa. 2005-08-17 19:34:49 +00:00
Makefile Add the Archive library 2004-11-14 21:55:27 +00:00