llvm-6502/utils
Chris Lattner a14b1ded69 add a new TGError class and use it to propagate location info with
errors when thrown.  This gets us nice errors like this from tblgen:

CMOVL32rr: 	(set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2))
/Users/sabre/llvm/Debug/bin/tblgen: error:
Included from X86.td:116:
Parsing X86InstrInfo.td:922: In CMOVL32rr: X86cmov node requires exactly 4 operands!
def CMOVL32rr : I<0x4C, MRMSrcReg,       // if <s, GR32 = GR32
^

instead of just:

CMOVL32rr: 	(set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2))
/Users/sabre/llvm/Debug/bin/tblgen: In CMOVL32rr: X86cmov node requires exactly 4 operands!

This is all I plan to do with this, but it should be easy enough to improve if anyone 
cares (e.g. keeping more loc info in "dag" expr records in tblgen.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66898 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13 16:25:21 +00:00
..
buildit Don't try to strip a file we just moved. 2009-02-11 00:14:53 +00:00
emacs Introduce new linkage types linkonce_odr, weak_odr, common_odr 2009-03-07 15:45:40 +00:00
fpcmp
lint * Fixed spelling 2009-02-20 23:44:54 +00:00
PerfectShuffle these utils don't need exports. 2009-02-26 19:02:23 +00:00
TableGen add a new TGError class and use it to propagate location info with 2009-03-13 16:25:21 +00:00
unittest Fix MingW build: define GTEST_OS_WINDOWS if OS is MingW, but disable 2009-02-12 08:02:35 +00:00
vim It makes no sense to have a ODR version of common 2009-03-11 20:14:15 +00:00
cgiplotNLT.pl
check-each-file
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
getsrcs.sh
importNLT.pl
llvm-native-gcc
llvm-native-gxx
llvm.grm It makes no sense to have a ODR version of common 2009-03-11 20:14:15 +00:00
llvmdo remove some exclusions that don't exist anymore. 2009-01-08 19:02:03 +00:00
llvmgrep
Makefile Moved Google Test code up one directory so that we can use a standard LLVM 2009-01-01 01:29:44 +00:00
makellvm
mkpatch Original patch by Talin. 2009-01-01 02:24:48 +00:00
NewNightlyTest.pl Fix an inconsistent use of LLVMGCCDIR. In all other cases, this directory 2009-03-12 19:47:24 +00:00
NightlyTest.gnuplot
NightlyTestTemplate.html
NLT.schema
OldenDataRecover.pl
parseNLT.pl
plotNLT.pl
profile.pl
RegressionFinder.pl
userloc.pl
webNLT.pl