- Sep 26, 2008
-
-
Evan Cheng authored
llvm-svn: 56697
-
Chris Lattner authored
DirectoryLookup::DirType into SourceManager.h llvm-svn: 56692
-
Daniel Dunbar authored
llvm-svn: 56689
-
rdar://6243860Chris Lattner authored
to whether the fileid is a 'extern c system header' in addition to whether it is a system header, most of this is spreading plumbing around. Once we have that, PPLexerChange bases its "file enter/exit" notifications to PPCallbacks to base the system header state on FileIDInfo instead of HeaderSearch. Finally, in Preprocessor::HandleIncludeDirective, mirror logic in GCC: the system headerness of a file being entered can be set due to the #includer or the #includee. llvm-svn: 56688
-
Chris Lattner authored
llvm-svn: 56687
-
Dan Gohman authored
values for overflow. llvm-svn: 56686
-
Evan Cheng authored
Fix @llvm.frameaddress codegen. FP elimination optimization should be disabled when frame address is desired. Also add support for depth > 0. llvm-svn: 56683
-
Oscar Fuentes authored
llvm-svn: 56682
-
Dale Johannesen authored
llvm-svn: 56679
-
Dale Johannesen authored
llvm-svn: 56678
-
Dale Johannesen authored
its size). Adjust various lowering functions to pass this info through from CallInst. Use it to implement sseregparm returns on X86. Remove X86_ssecall calling convention. llvm-svn: 56677
-
Dan Gohman authored
require RIP-relative addressing and use it to fix a bug in X86FastISel in x86-64 PIC mode, where it was trying to use base/index registers with RIP-relative addresses. This fixes a bunch of x86-64 testsuite failures. llvm-svn: 56676
-
Evan Cheng authored
llvm-svn: 56675
-
Owen Anderson authored
llvm-svn: 56674
-
Chris Lattner authored
llvm-svn: 56673
-
Ted Kremenek authored
llvm-svn: 56672
-
Chris Lattner authored
llvm-svn: 56670
-
Chris Lattner authored
directory is shadowed by a user directory in the lookup path, ignore the user directory not the system one. Not doing this can affect file lookup and the "is a system header" bit on locations. For example: clang -v -I/usr/include inc.c -E | & grep /usr/inc now prints: # 1 "/usr/include/i386/_types.h" 1 3 4 # 37 "/usr/include/i386/_types.h" 3 4 # 70 "/usr/include/i386/_types.h" 3 4 instead of: # 1 "/usr/include/i386/_types.h" 1 # 37 "/usr/include/i386/_types.h" # 70 "/usr/include/i386/_types.h" This is part of rdar://6243860. llvm-svn: 56669
-
Ted Kremenek authored
llvm-svn: 56668
-
Jim Grosbach authored
llvm-svn: 56667
-
Ted Kremenek authored
llvm-svn: 56666
-
Evan Cheng authored
llvm-svn: 56665
-
Ted Kremenek authored
Move VLA processing logic from LiveVariables to CFG construction. This way all dataflow analyses "see" the VLA size expressions. llvm-svn: 56655
-
Steve Naroff authored
This fixes <rdar://problem/6248392> clang: Error when using address of stack variable inside block. llvm-svn: 56652
-
Ted Kremenek authored
Fixes <rdar://problem/6248086> llvm-svn: 56645
-
Daniel Dunbar authored
llvm-svn: 56644
-
Daniel Dunbar authored
llvm-svn: 56643
-
Daniel Dunbar authored
llvm-svn: 56642
-
Oscar Fuentes authored
llvm-svn: 56641
-
Daniel Dunbar authored
llvm-svn: 56640
-
Daniel Dunbar authored
llvm-svn: 56639
-
Daniel Dunbar authored
llvm-svn: 56638
-
Dan Gohman authored
require more work. llvm-svn: 56637
-
Daniel Dunbar authored
llvm-svn: 56636
-
Daniel Dunbar authored
- This really needs to be automated and configurable. llvm-svn: 56635
-
Daniel Dunbar authored
llvm-svn: 56634
-
Ted Kremenek authored
llvm-svn: 56633
-
Ted Kremenek authored
Fixes: <rdar://problem/6248119> @finally doesn't introduce a new scope llvm-svn: 56629
-
Bill Wendling authored
information is in an unreachable block, then it's possible that the high/low pc values won't be set for the dwarf information. E.g., this function: void abort(void) __attribute__((__noreturn__)); void dead_beef(void) __attribute__ ((noreturn)); int *b; void dead_beef(void) { *b=0xdeadbeef; abort(); } has a call to "@llvm.dbg.region.end" only in the unreachable block: define void @dead_beef() noreturn nounwind { entry: call void @llvm.dbg.func.start(...) call void @llvm.dbg.stoppoint(...) ... call void @abort( ) noreturn nounwind unreachable return: ; No predecessors! call void @llvm.dbg.stoppoint(...) call void @llvm.dbg.region.end(...) ret void } The dwarf information emitted is something like: 0x00000084: TAG_subprogram [5] AT_name( "dead_beef" ) AT_external( 0x01 ) AT_prototyped( 0x01 ) AT_decl_file( 0x01 ) AT_decl_line( 0x08 ) Note that this is *not* the best fix for this problem, but a band-aid for an gaping wound. This code needs to be changed when we revamp our debugging information. llvm-svn: 56628
-
Evan Cheng authored
llvm-svn: 56627
-