- Sep 30, 2010
-
-
Kevin Enderby authored
missed a bunch of files. Here the rest. Sorry about that. llvm-svn: 115173
-
Chris Lattner authored
llvm-svn: 115172
-
Chris Lattner authored
llvm-svn: 115171
-
Chris Lattner authored
llvm-svn: 115170
-
Johnny Chen authored
friendly CC and ARCH, instead. llvm-svn: 115169
-
Chris Lattner authored
llvm-svn: 115168
-
Johnny Chen authored
llvm-svn: 115167
-
Johnny Chen authored
llvm-svn: 115166
-
Chris Lattner authored
llvm-svn: 115165
-
Chris Lattner authored
llvm-svn: 115164
-
Chris Lattner authored
llvm-svn: 115163
-
Chris Lattner authored
llvm-svn: 115162
-
Chris Lattner authored
llvm-svn: 115161
-
Jim Grosbach authored
llvm-svn: 115160
-
Argyrios Kyrtzidis authored
Support implicit includes when generating a PCH and allow the user to pass a -include on the command line following the PCH include. Fixes rdar://7382084. llvm-svn: 115159
-
Argyrios Kyrtzidis authored
llvm-svn: 115158
-
Kevin Enderby authored
and output the dwarf line number tables. This contains the code to emit and encode the dwarf line tables from the previously gathered information in the MCLineSection objects. This contains all the details to encode the line and address deltas into the dwarf line table. To do this an MCDwarfLineAddrFragment has been added. Also this moves the interface code out of Mach-O streamer into MCDwarf so it should be useable by other object file formats. There is now one call to be made from an MCObjectStreamer EmitInstruction() method: MCLineEntry::Make(this, getCurrentSection()); to create a line entry after each instruction is assembled. And one call call to be made from an MCObjectStreamer Finish() method: MCDwarfFileTable::Emit(this, DwarfLineSection); when getContext().hasDwarfFiles() is true and is passed a object file specific MCSection where to emit the dwarf file and the line tables. This appears to now be correct for 32-bit targets, at least x86. But the relocation entries for 64-bit Darwin needs some further work which is next up to work on. So for now the 64-bit Mach-O target does not output the dwarf file and line tables. llvm-svn: 115157
-
Chris Lattner authored
llvm-svn: 115156
-
Kevin Enderby authored
if we are given a Layout object, even in cases when the value is not fixed. This will be needed by the final patch for the dwarf .loc support to size a new MCDwarf fragment needed to build and emit dwarf line number tables. llvm-svn: 115155
-
Chris Lattner authored
llvm-svn: 115154
-
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
-