llvm-project/llvm/lib
Chris Lattner 1ff90134a4 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
2009-08-06 16:39:58 +00:00
..
Analysis Simplify the ZIV tester to the max. 2009-08-06 03:10:33 +00:00
Archive Factor some of the constants+context related code out into a separate header, to make LLVMContextImpl.h 2009-08-04 22:41:48 +00:00
AsmParser Privatize the StructType table, which unfortunately involves routing contexts through a number of APIs. 2009-08-05 23:16:16 +00:00
Bitcode Privatize the StructType table, which unfortunately involves routing contexts through a number of APIs. 2009-08-05 23:16:16 +00:00
CodeGen Reg Scavenging generalization (Thumb support): 2009-08-06 16:32:47 +00:00
CompilerDriver Delete the temp dir even when '--temp-dir' is specified. 2009-07-11 19:27:07 +00:00
Debugger Privatize the StructType table, which unfortunately involves routing contexts through a number of APIs. 2009-08-05 23:16:16 +00:00
ExecutionEngine Make ExecutionEngine::updateGlobalMapping(GV, NULL) properly remove GV's old 2009-08-04 23:53:16 +00:00
Linker Move a few more APIs back to 2.5 forms. The only remaining ones left to change back are 2009-07-31 20:28:14 +00:00
MC Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
Support Fix FindExecutable to use sys::Path::GetMainExecutable instead of 2009-08-05 20:21:17 +00:00
System Minor code simplification. 2009-08-05 20:16:55 +00:00
Target Fix several fixmes and clean up code by sinking *all* section 2009-08-06 16:39:58 +00:00
Transforms Privatize the StructType table, which unfortunately involves routing contexts through a number of APIs. 2009-08-05 23:16:16 +00:00
VMCore Don't search the entire type table just to delete a type by name. 2009-08-06 06:04:35 +00:00
Makefile LLVMC doesn't need ENABLE_PIC to build now. 2009-07-04 03:54:54 +00:00