- Jul 26, 2009
-
-
Chris Lattner authored
llvm-svn: 77143
-
Chris Lattner authored
section specified for it or not. llvm-svn: 77142
-
Chris Lattner authored
to its classification. llvm-svn: 77140
-
Chris Lattner authored
llvm-svn: 77138
-
Chris Lattner authored
llvm-svn: 77135
-
Chris Lattner authored
llvm-svn: 77134
-
Chris Lattner authored
simplify targets. llvm-svn: 77132
-
Chris Lattner authored
putting readonly constants in the readonly section if we have one. llvm-svn: 77131
-
Chris Lattner authored
group instead of a bunch of random unrelated ideas. Provide predicates to categorize a SectionKind into a group, and use them instead of getKind() throughout the code. This also renames a ton of SectionKinds to be more consistent and evocative, and adds a huge number of comments on the enums so that I will hopefully be able to remember how this stuff works long from now. llvm-svn: 77129
-
Chris Lattner authored
an enum. llvm-svn: 77096
-
- Jul 25, 2009
-
-
Chris Lattner authored
1. Spell SectionFlags::Writeable as "Writable". 2. Add predicates for deriving SectionFlags from SectionKinds. 3. Sink ELF-specific getSectionPrefixForUniqueGlobal impl into ELFTargetAsmInfo. 4. Fix SectionFlagsForGlobal to know that BSS/ThreadBSS has the BSS bit set (the real fix for PR4619). 5. Fix isSuitableForBSS to not put globals with explicit sections set in BSS (which was the reason #4 wasn't fixed earlier). 6. Remove my previous hack for PR4619. llvm-svn: 77085
-
Chris Lattner authored
llvm-svn: 77084
-
Chris Lattner authored
Thanks to Rafael for the great example. llvm-svn: 77083
-
- Jul 24, 2009
-
-
Chris Lattner authored
llvm-svn: 76999
-
Chris Lattner authored
previously virtual) function to being a static function in the .cpp file. llvm-svn: 76997
-
Chris Lattner authored
It's classifications now include elf-specific discriminators. Targets that don't have these features (like darwin and pecoff) simply treat data.rel like data, etc. llvm-svn: 76993
-
Chris Lattner authored
pass it in instead of recomputing it. llvm-svn: 76990
-
Chris Lattner authored
llvm-svn: 76989
-
Chris Lattner authored
llvm-svn: 76976
-
Chris Lattner authored
llvm-svn: 76975
-
Chris Lattner authored
into its own helper function. llvm-svn: 76974
-
Chris Lattner authored
virtual one. llvm-svn: 76973
-
Chris Lattner authored
llvm-svn: 76972
-
Chris Lattner authored
when we have a global with no section explicitly specified. llvm-svn: 76971
-
Daniel Dunbar authored
llvm-svn: 76967
-
Chris Lattner authored
implementation, eliminating a dupe. llvm-svn: 76953
-
Chris Lattner authored
The later doesn't depend on any crazy LLVM IR stuff, and this pulls the concatenation of prefix with GV name (the root problem behind PR4584) out one level. llvm-svn: 76948
-
Chris Lattner authored
llvm-svn: 76941
-
Chris Lattner authored
llvm-svn: 76937
-
Chris Lattner authored
a sad mistake that is regretted. :) llvm-svn: 76935
-
- Jul 23, 2009
-
-
Chris Lattner authored
a better solution for it in the future. llvm-svn: 76818
-
- Jul 22, 2009
-
-
Daniel Dunbar authored
simplification. - NFC llvm-svn: 76789
-
Daniel Dunbar authored
llvm-svn: 76778
-
Chris Lattner authored
a new getSectionForMergableConstant hook. This removes one dependence of TAI on Type, and provides the hook with enough info to make the right decision based on whether the global has relocations etc. llvm-svn: 76705
-
Chris Lattner authored
Constant::getRelocationInfo(), which has a much simpler to use API. It still should not be part of libvmcore, but is better than it was. Also teach it to be smart about hidden visibility. llvm-svn: 76700
-
Chris Lattner authored
llvm-svn: 76689
-
Chris Lattner authored
virtual. Just inline it into its two current call sites in preparation for simplifying the code. llvm-svn: 76686
-
- Jul 21, 2009
-
-
Chris Lattner authored
llvm-svn: 76645
-
Chris Lattner authored
LLVM IR concept. llvm-svn: 76590
-
Chris Lattner authored
llvm-svn: 76587
-