diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-06 16:39:58 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-06 16:39:58 +0000 |
| commit | 1ff90134a41a692e653580260db8ea6f3c93ee95 (patch) | |
| tree | 42987db99c57a0c0b5240eeb909ee4aac372e5ec /llvm/test/CodeGen/X86/add-with-overflow.ll | |
| parent | beb7ea293111e9ac8a57ba200b89c6d7e1533e2c (diff) | |
| download | bcm5719-llvm-1ff90134a41a692e653580260db8ea6f3c93ee95.tar.gz bcm5719-llvm-1ff90134a41a692e653580260db8ea6f3c93ee95.zip | |
Fix several fixmes and clean up code by sinking *all* section
creation activity into the target-specific subclasses of TLOF.
Before this, globals with explicit sections could be created by
the base class.
1. make getOrCreateSection protected, add a new getExplicitSectionGlobal
pure virtual method to assign sections to globals with a specified
section.
2. eliminate getSpecialCasedSectionGlobals, which is now PIC specific.
3. eliminate the getKindForNamedSection virtual method, which is
now just a static method for ELF.
4. Add implementions of getExplicitSectionGlobal for ELF/PECOFF/Darwin/PIC16.
They are now all detangled and understandable, woo! :)
llvm-svn: 78319
Diffstat (limited to 'llvm/test/CodeGen/X86/add-with-overflow.ll')
0 files changed, 0 insertions, 0 deletions

