llvm-6502/include/llvm/Support
Jeff Cohen 66c5fd6c53 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23888 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-23 04:37:20 +00:00
..
.cvsignore
AIXDataTypesFix.h
Annotation.h Eliminate tabs and trailing spaces. 2005-07-27 05:53:44 +00:00
CallSite.h
Casting.h
CFG.h
CommandLine.h When a function takes a variable number of pointer arguments, with a zero 2005-10-23 04:37:20 +00:00
Compressor.h
ConstantRange.h
DataTypes.h.in When a function takes a variable number of pointer arguments, with a zero 2005-10-23 04:37:20 +00:00
Debug.h
DOTGraphTraits.h add a method 2005-10-01 00:17:07 +00:00
DynamicLinker.h
ELF.h
FileUtilities.h
GetElementPtrTypeIterator.h
GraphWriter.h Annotate nodes with their addresses if a graph requests it. 2005-10-01 00:19:21 +00:00
InstIterator.h
InstVisitor.h
LeakDetector.h
Mangler.h change proto slightly 2005-09-24 08:23:53 +00:00
MathExtras.h Remove prolific source of VC++ truncation warnings. 2005-10-07 05:29:25 +00:00
MutexGuard.h Eliminate tabs and trailing spaces. 2005-07-27 05:53:44 +00:00
PassNameParser.h
PatternMatch.h Make this slightly more efficient by pushing actual type information down 2005-09-27 06:38:05 +00:00
PluginLoader.h
SlowOperationInformer.h
StableBasicBlockNumbering.h
SystemUtils.h
Timer.h
ToolRunner.h
type_traits.h
TypeInfo.h