llvm-6502/utils/TableGen
Mikhail Glushenkov 6766572dcb Check the return value of std::getenv.
When constructing std::strings from C strings, we should check the input
value to be not NULL so that the std::string constructor does not
segfault.
Fixes #3047.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59131 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-12 12:41:18 +00:00
..
AsmWriterEmitter.cpp Remove tabs from my previous commit. 2008-10-27 19:21:35 +00:00
AsmWriterEmitter.h
CallingConvEmitter.cpp
CallingConvEmitter.h
CMakeLists.txt Change how extended types are represented in MVTs. Instead of fiddling 2008-11-03 17:56:27 +00:00
CodeEmitterGen.cpp Fix shift overflow bug that would occur when a field was a full 32-bits 2008-10-05 18:31:58 +00:00
CodeEmitterGen.h
CodeGenDAGPatterns.cpp Add support for having multiple predicates on a TreePatternNode. 2008-10-15 06:17:21 +00:00
CodeGenDAGPatterns.h Add support for having multiple predicates on a TreePatternNode. 2008-10-15 06:17:21 +00:00
CodeGenInstruction.cpp Remove redundant word in tblgen error message. 2008-10-27 15:59:43 +00:00
CodeGenInstruction.h
CodeGenIntrinsics.h
CodeGenRegisters.h
CodeGenTarget.cpp Factor the code for determining the target-specific instruction 2008-08-20 21:45:57 +00:00
CodeGenTarget.h Factor the code for determining the target-specific instruction 2008-08-20 21:45:57 +00:00
DAGISelEmitter.cpp Use an assert to check that SelectCode isn't called on 2008-11-05 18:30:52 +00:00
DAGISelEmitter.h
FastISelEmitter.cpp Add support for having multiple predicates on a TreePatternNode. 2008-10-15 06:17:21 +00:00
FastISelEmitter.h Refactor a bunch of FastISelEmitter code into a helper class, and 2008-08-26 21:21:20 +00:00
InstrEnumEmitter.cpp Add <cstdio> include where needed by gcc-4.4. 2008-10-08 07:23:46 +00:00
InstrEnumEmitter.h
InstrInfoEmitter.cpp Add RCBarriers to TargetInstrDesc. It's a list of register classes the given instruction can "clobber". For example, on x86 the call instruction can modify all of the XMM and fp stack registers. 2008-10-17 21:00:09 +00:00
InstrInfoEmitter.h Add RCBarriers to TargetInstrDesc. It's a list of register classes the given instruction can "clobber". For example, on x86 the call instruction can modify all of the XMM and fp stack registers. 2008-10-17 21:00:09 +00:00
IntrinsicEmitter.cpp Large mechanical patch. 2008-09-25 21:00:45 +00:00
IntrinsicEmitter.h
LLVMCConfigurationEmitter.cpp Check the return value of std::getenv. 2008-11-12 12:41:18 +00:00
LLVMCConfigurationEmitter.h
Makefile
Record.cpp Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
Record.h Unbreak LLVM on the MSVC compiler: 2008-10-22 09:54:13 +00:00
RegisterInfoEmitter.cpp Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
RegisterInfoEmitter.h
SubtargetEmitter.cpp lib/Target/SubtargetFeature.cpp asserts that the FeatureKV[] table be sorted 2008-09-11 17:05:32 +00:00
SubtargetEmitter.h
TableGen.cpp Make tablegen print out a nice error message for a const char* 2008-11-07 21:01:13 +00:00
TableGenBackend.cpp
TableGenBackend.h
TGLexer.cpp Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
TGLexer.h Unbreak LLVM on the MSVC compiler: 2008-10-22 09:54:13 +00:00
TGParser.cpp Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
TGParser.h
TGValueTypes.cpp Give tablegen's Type a destructor, to suppress spurious 2008-11-04 18:09:07 +00:00