- Sep 30, 2010
-
-
Kevin Enderby authored
for the dwarf .loc support to emit dwarf line number tables. llvm-svn: 115153
-
Chris Lattner authored
llvm-svn: 115152
-
Benjamin Kramer authored
reduces the amount of malloc calls and may reduce memory overhead. Some numbers: ASTContext stats, clang -cc1 -disable-free -fsyntax-only Cocoa_h.m without dynamic growth | with dynamic growth Number of memory regions: 3158 | Number of memory regions: 432 Bytes used: 12333185 | Bytes used: 12333185 Bytes allocated: 12935168 | Bytes allocated: 12800000 Bytes wasted: 601983 (includes alignment, etc) | Bytes wasted: 466815 (includes alignment, etc) ASTContext stats, clang -cc1 -disable-free -fsyntax-only on clang's ASTReader.cpp without dynamic growth | with dynamic growth Number of memory regions: 10987 | Number of memory regions: 551 Bytes used: 42910356 | Bytes used: 42910356 Bytes allocated: 45002752 | Bytes allocated: 44711936 Bytes wasted: 2092396 (includes alignment, etc) | Bytes wasted: 1801580 (includes alignment, etc) llvm-svn: 115151
-
Johnny Chen authored
llvm-svn: 115150
-
Jim Grosbach authored
llvm-svn: 115149
-
Gabor Greif authored
llvm-svn: 115148
-
Jason W Kim authored
llvm-svn: 115147
-
Howard Hinnant authored
llvm-svn: 115145
-
Benjamin Kramer authored
Tighten up prototype verification of strchr and strrchr to avoid a crash in the very unlikely case that someone passes an integer > i64 to strchr. llvm-svn: 115144
-
Chandler Carruth authored
specifically assert on unexpected flags. llvm-svn: 115143
-
Marcin Swiderski authored
-cfg-add-implicit-dtors - sets CFG::BuildOptions::AddImplicitDtors for AnalysisCosumer to true, -cfg-add-initializers - sets CFG::BuildOptions::AddInitializers for AnalysisCosumer to true. llvm-svn: 115142
-
Jan Wen Voung authored
time. That way, the EntrySize field is initialized for other code paths, namely, the .ll -> .o code path. llvm-svn: 115141
-
Rafael Espindola authored
llvm-svn: 115137
-
Jim Grosbach authored
llvm-svn: 115136
-
Jim Grosbach authored
llvm-svn: 115135
-
Rafael Espindola authored
With this patch in movq $foo, foo(%rip) foo: .long foo We produce a R_X86_64_32S for the first relocation and R_X86_64_32 for the second one. llvm-svn: 115134
-
Jason W Kim authored
Small test for sanity check of resulting ARM .s file. Tested against -r115129. llvm-svn: 115133
-
Jan Wen Voung authored
constructing a section. Test for a few cases also included. llvm-svn: 115132
-
Rafael Espindola authored
resolved or not. Different object files have different restrictions and different native assemblers have different idiosyncrasies we want to emulate for now. Move the existing MachO logic to the new place and implement an ELF one that gets fixups to globals right. llvm-svn: 115131
-
Jim Grosbach authored
Now that the MC lowering handles the expansion of the pseudos, kill the horrible blobs of text. llvm-svn: 115130
-
Jason W Kim authored
I added a new file ARMAsmBackend which stubs out in similar ways to the eqv X86 class. For now, I split the ELFARMAsmBackend from the DarwinARMAsmBackend (also mimicking X86) Tested against -r115126 llvm-svn: 115129
-
Jim Grosbach authored
to an empty PrintSpecial() llvm-svn: 115128
-
Jim Grosbach authored
(Kill the dead non-MC asm printer for the ARM target.) llvm-svn: 115127
-
Jim Grosbach authored
or not. TableGen needs to generate the printInstruction() function as taking an MCInstr* or a MachineInstr*, depending. Default to the old non-MC version so that everything not yet using MC continues to just work without fidding. llvm-svn: 115126
-
Johnny Chen authored
it inside Makefile.rules to return clang++ on clang and llvm-g++ on llvm-gcc. Removed CPLUSPLUSFLAGS which is simply wrong and CPPFLAGS which is unnecessary. llvm-svn: 115125
-
Chris Lattner authored
llvm-svn: 115124
-
Tom Care authored
- Idempotent operations are on by default, to match --analyze in the driver. - Integrated stats calculation based on parsing warnings emitted with the -analyzer-stats flag. The new -stats flag enables this. - New -maxloop flag to pass down a maxloop value to the analyzer. llvm-svn: 115123
-
Jan Wen Voung authored
llvm-svn: 115122
-
Evan Cheng authored
1. Cortex-a9 8-bit and 16-bit loads / stores AGU cycles are 1 cycle longer than 32-bit ones. 2. Cortex-a9 is out-of-order so model all read cycles as cycle 1. 3. Lots of other random fixes for A8 and A9. llvm-svn: 115121
-
Ted Kremenek authored
llvm-svn: 115120
-
Ted Kremenek authored
Change CheckerVisitor so that [Pre,Post]VisitCallExpr only handles CallExprs for simple C functions, not all CallExprs (including CXXMemberCallExpr, etc.). Now the generic handler for all CallExprs is [Pre,Post]VisitGenericCallExpr. Also add [Pre,Post]Visit hooks for CXXMemberCallExpr. Change GRExprEngine::VisitCXXMemberCallExpr() to do pre/post checker visits of the call. llvm-svn: 115119
-
Sebastian Redl authored
llvm-svn: 115118
-
Sebastian Redl authored
In MeasureTokenLength, the FileLoc supplied to the lexer must point to the start of the buffer, or we risk overflow. llvm-svn: 115117
-
Benjamin Kramer authored
llvm-svn: 115116
-
Jim Ingham authored
llvm-svn: 115115
-
Francois Pichet authored
Revert r114320(move file = copy + delete on Win32). r115040 is a better solution for the Win32 ACCESS_DENIED lit error. llvm-svn: 115114
-
Ted Kremenek authored
Fixes: <rdar://problem/7513117> llvm-svn: 115113
-
Chris Lattner authored
llvm-svn: 115112
-
Benjamin Kramer authored
llvm-svn: 115111
-
Tom Care authored
- Use BlockEntrance rather than BlockEdge to bring in line with UnreachableCodeChecker. Fixes an issue where unreached blocks would still be counted as reachable. - Added warnings for all BlockAborted locations. This allows us to see where the analyzer stopped analyzing. llvm-svn: 115110
-