- Sep 29, 2009
-
-
Devang Patel authored
llvm-svn: 83083
-
- Sep 25, 2009
-
-
Mike Stump authored
delete a few blank lines. llvm-svn: 82729
-
Mike Stump authored
llvm-svn: 82727
-
- Sep 24, 2009
-
-
Chris Lattner authored
unconditionally compute MMI even if the target doesn't support EH or Debug info, because the target may use it for other things, this fixes PR5036 llvm-svn: 82684
-
- Sep 23, 2009
-
-
Mike Stump authored
llvm-svn: 82591
-
- Sep 20, 2009
-
-
Bill Wendling authored
U lib/CodeGen/AsmPrinter/DwarfException.cpp U lib/CodeGen/AsmPrinter/DwarfException.h --- Reverse-merging r82274 into '.': U lib/Target/TargetLoweringObjectFile.cpp G lib/CodeGen/AsmPrinter/DwarfException.cpp These revisions were breaking everything. llvm-svn: 82396
-
Bill Wendling authored
internal, they shouldn't use the indirect pointer stuff. In the case of throw_rethrow_test, it was marked as 'internal' and calculated its own offset to its contents. llvm-svn: 82354
-
- Sep 19, 2009
-
-
Daniel Dunbar authored
llvm-svn: 82333
-
Daniel Dunbar authored
llvm-svn: 82332
-
- Sep 18, 2009
-
-
Bill Wendling authored
llvm-svn: 82282
-
Bill Wendling authored
into the __DATA section. At launch time, dyld has to update most of the section to fix up the type info pointers. It's better to place it into the __TEXT section and use pc-rel indirect pointer encodings. Similar to the personality routine. llvm-svn: 82274
-
Chris Lattner authored
Overriding doFinalization is pretty lame. llvm-svn: 82268
-
Anton Korobeynikov authored
variables to specified absolute address. Make use of this feature for MSP430. This unbreaks PR4776. llvm-svn: 82227
-
- Sep 17, 2009
-
-
Chris Lattner authored
currently unused. llvm-svn: 82157
-
- Sep 16, 2009
-
-
Chris Lattner authored
we have MCInstPrinter. llvm-svn: 82006
-
Chris Lattner authored
Eliminate the PersonalityPrefix/Suffix & NeedsIndirectEncoding fields from MAI: they aren't part of the asm syntax, they are related to the structure of the object file. To replace their functionality, add a new TLOF::getSymbolForDwarfGlobalReference method which asks targets to decide how to reference a global from EH in a pc-relative way. The default implementation just returns the symbol. The default darwin implementation references the symbol through an indirect $non_lazy_ptr stub. The bizarro x86-64 darwin specialization handles the weird "foo@GOTPCREL+4" hack. DwarfException.cpp now uses this to emit the reference to the symbol in the right way, and this also eliminates another horrible hack from DwarfException.cpp: - if (strcmp(MAI->getPersonalitySuffix(), "+4@GOTPCREL")) - O << "-" << MAI->getPCSymbol(); llvm-svn: 81991
-
Chris Lattner authored
llvm-svn: 81970
-
Chris Lattner authored
one implementation into its one caller. This eliminates a totally awesome and gratuitous hack where we casted a Function* to GlobalVariable*. llvm-svn: 81967
-
Chris Lattner authored
it into all of its call sites and simplifying them. llvm-svn: 81962
-
Chris Lattner authored
llvm-svn: 81946
-
Chris Lattner authored
llvm-svn: 81942
-
- Sep 14, 2009
-
-
Chris Lattner authored
llvm-svn: 81755
-
Chris Lattner authored
full AsmPrinter, and change TargetRegistry to keep track of registered MCInstPrinters. llvm-mc is still linking in the entire target foo to get the code emitter stuff, but this is an important step in the right direction. llvm-svn: 81754
-
- Sep 13, 2009
-
-
Chris Lattner authored
llvm-svn: 81705
-
Chris Lattner authored
has real information about linker private linkage. llvm-svn: 81695
-
Chris Lattner authored
now that printBasicBlockLabel is only used for starting a MBB. This allows elimination of a bunch of arguments. llvm-svn: 81684
-
Chris Lattner authored
instead. llvm-svn: 81677
-
Chris Lattner authored
Move GetMBBSymbol up to AsmPrinter and make printBasicBlockLabel use it so that we only have one place that decides what to name bb labels. Hopefully various clients of printBasicBlockLabel can start using GetMBBSymbol instead. llvm-svn: 81652
-
- Sep 11, 2009
-
-
Caroline Tice authored
llvm-svn: 81542
-
Duncan Sands authored
object, the timer it creates was not being deleted. Since the timer belonged to a static timer group, the timer group would be destroyed on shutdown, and would notice and complain that not all timers it contained were destroyed. llvm-svn: 81533
-
- Sep 10, 2009
-
-
Bill Wendling authored
llvm-svn: 81454
-
Bill Wendling authored
llvm-svn: 81436
-
Bill Wendling authored
from the exception tables. However, Duncan explained why it's a can of worms to do it the GCC way. I went back to doing it the LLVM way and added Duncan's explanation so that I don't do this again in the future. llvm-svn: 81434
-
Bill Wendling authored
like what GCC outputs. The mysterious code to insert padding wasn't in GCC at all. I modified the TType base offset code to calculate the offset like GCC does, though. llvm-svn: 81424
-
Bill Wendling authored
code within it was the same inside and out. There's still a problem of the TypeInfoSize should be the size of the TType format encoding (at least that's what GCC thinks it should be). llvm-svn: 81417
-
Bill Wendling authored
llvm-svn: 81409
-
Bill Wendling authored
sizeof(DW_EH_PE_udata4). llvm-svn: 81408
-
Bill Wendling authored
llvm-svn: 81406
-
Bill Wendling authored
Basically, this patch is working towards removing the hard-coded values that are output for the CIE. In particular, the CIE augmentation and the CIE augmentation size. Both of these should be calculated. In the process, I was able to make a bunch of code simpler. The encodings for the personality, LSDA, and FDE in the CIE are still not correct. They should be generated either from target-specific callbacks (blech!) or grokked from first-principles. llvm-svn: 81404
-
Chris Lattner authored
the MCInst path of the asmprinter. Instead, pull comment printing out of the autogenerated asmprinter into each target that uses the autogenerated asmprinter. This causes code duplication into each target, but in a way that will be easier to clean up later when more asmprinter stuff is commonized into the base AsmPrinter class. This also fixes an xcore strangeness where it inserted two tabs before every instruction. llvm-svn: 81396
-