- Mar 05, 2009
-
-
Owen Anderson authored
llvm-svn: 66158
-
Nick Lewycky authored
llvm-svn: 66157
-
Nick Lewycky authored
llvm-svn: 66156
-
Chris Lattner authored
it in the stack trace, giving us stuff like: Stack dump: 0. Program arguments: clang t.c -emit-llvm 1. <eof> parser at end of file 2. t.c:1:5: LLVM IR generation of declaration 'a' 3. t.c:1:9: LLVM IR generation of compound statement ('{}') 4. t.c:2:3: LLVM IR generation of compound statement ('{}') Abort llvm-svn: 66154
-
Chris Lattner authored
Introduce a new PrettyStackTraceDecl. Use it to add the top level LLVM IR generation stuff in Backend.cpp to stack traces. We now get crashes like: Stack dump: 0. Program arguments: clang t.c -emit-llvm 1. <eof> parser at end of file 2. t.c:1:5: LLVM IR generation of declaration 'a' Abort for IR generation crashes. llvm-svn: 66153
-
Ted Kremenek authored
llvm-svn: 66152
-
Chris Lattner authored
llvm-svn: 66151
-
Chris Lattner authored
llvm-svn: 66150
-
Chris Lattner authored
llvm-svn: 66149
-
Chris Lattner authored
For example: Stack dump: 0. Program arguments: clang t.cpp 1. t.cpp:4:8: current parser token: ';' 2. t.cpp:3:1: parsing struct/union/class body 'x' Abort It is weird that the parser is always "underneath" any parse context actions, but the parser is created first. llvm-svn: 66148
-
Owen Anderson authored
Be more careful about choosing restore points when doing restore folding. This fixes some subtle miscompilations. llvm-svn: 66147
-
Chris Lattner authored
llvm-svn: 66146
-
Chris Lattner authored
feels a kinship to machine stacks that grow down. Now we get stuff like this: Stack dump: 0. Program arguments: clang clang_crash_Iw2Osj.mi 1. /Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:624:1: parsing function body '_mm_cvtpi16_ps' 2. /Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:624:1: in compound statement ('{}') Abort llvm-svn: 66145
-
Chris Lattner authored
llvm-svn: 66144
-
Chris Lattner authored
llvm-svn: 66143
-
Daniel Dunbar authored
- Add Driver::ParseArgStrings. - Store values directly in CommaJoinedArg to support simple access. - Add FlagArg class. llvm-svn: 66142
-
Nate Begeman authored
This invalidates the stubs in the resolver map when they are no longer referenced, and should the JIT memory manager ever pick up a deallocateStub interface, the JIT could reclaim the memory for unused stubs as well. llvm-svn: 66141
-
Evan Cheng authored
llvm-svn: 66140
-
Ted Kremenek authored
Test case: When using RegionStore with the retain/release checker, stop tracking objects assigned to self's ivar. llvm-svn: 66139
-
Ted Kremenek authored
llvm-svn: 66136
-
Ted Kremenek authored
llvm-svn: 66133
-
Eli Friedman authored
return/argument types. (The generated IR isn't ideal, but we can't really do better in general.) llvm-svn: 66132
-
Ted Kremenek authored
llvm-svn: 66131
-
Ted Kremenek authored
llvm-svn: 66130
-
Evan Cheng authored
Fix how livein live intervals are handled. Previously it could end at MBB start. Sorry, no small test case possible. llvm-svn: 66129
-
Eli Friedman authored
PR3688. (The FIXME is a rather big performance issue, but it only affects code using this feature, which is relatively rare.) llvm-svn: 66128
-
Ted Kremenek authored
llvm-svn: 66127
-
Mike Stump authored
llvm-svn: 66126
-
Ted Kremenek authored
llvm-svn: 66125
-
Chris Lattner authored
gives us: Stack dump: 0. using-directive.cpp:26:16: in compound statement ('{}') 1. using-directive.cpp:26:16: parsing function body 'A::K1::foo' 2. using-directive.cpp:25:3: parsing struct/union/class body 'A::K1' 3. using-directive.cpp:5:1: parsing namespace 'A' 4. clang using-directive.cpp Abort for code like: namespace A { ... class K1 { void foo() { <<crash>> llvm-svn: 66124
-
Chris Lattner authored
like this: Stack dump: 0. using-directive.cpp:9:14: in compound statement ('{}') 1. using-directive.cpp:9:14: parsing function body 'A::B::f' 2. using-directive.cpp:7:3: parsing namespace 'A::B' 3. using-directive.cpp:5:1: parsing namespace 'A' 4. clang using-directive.cpp Abort for testcase like like: namespace A { short i; namespace B { long i; void f() { <<crash>> llvm-svn: 66123
-
Dale Johannesen authored
codegen. I convinced myself it was OK to skip all pointer bitcasts here too. llvm-svn: 66122
-
Chris Lattner authored
Stack dump: 0. message.m:53:13: in compound statement ('{}') 1. message.m:53:13: parsing Objective-C method 'xx' 2. clang message.m llvm-svn: 66121
-
Devang Patel authored
llvm-svn: 66120
-
Zhou Sheng authored
llvm-svn: 66119
-
Chris Lattner authored
like: Stack dump: 0. t.c:5:10: in compound statement ('{}') 1. t.c:3:12: in compound statement ('{}') 2. t.c:3:12: parsing function body 'foo' 3. clang t.c Abort llvm-svn: 66118
-
Mike Stump authored
llvm-svn: 66117
-
Bill Wendling authored
llvm-svn: 66115
-
Chris Lattner authored
llvm-svn: 66114
-
Chris Lattner authored
locations that are the current tok loc. Note that inline C++ methods have a big fixme that could cause a crash. llvm-svn: 66113
-