summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCSectionMachO.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [C++11] More 'nullptr' conversion or in some cases just using a boolean ↵Craig Topper2014-04-131-8/+8
| | | | | | check instead of comparing to nullptr. llvm-svn: 206129
* MC: Appease the buildbotsDavid Majnemer2014-03-101-2/+2
| | | | | | This is fallout from r203429. llvm-svn: 203430
* MC: Cleanup MCSectionMachO::ParseSectionSpecifierDavid Majnemer2014-03-101-77/+43
| | | | | | | | | Split by comma once instead of multiple times. Moving this upfront makes the rest of the code considerably simpler. No functional change. llvm-svn: 203429
* MC: Use MachO::SectionType for MCSectionMachO::getType's return typeDavid Majnemer2014-03-071-1/+1
| | | | | | | | | This is a straightfoward replacement, it makes debugging a little easier. This has no functional impact. llvm-svn: 203264
* MC: Remove superfluous section attribute flag definitionsDavid Majnemer2014-03-071-14/+14
| | | | | | | | | | | | | | | | | | | Summary: llvm/MC/MCSectionMachO.h and llvm/Support/MachO.h both had the same definitions for the section flags. Instead, grab the definitions out of support. No functionality change. Reviewers: grosbach, Bigcheese, rafael Reviewed By: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2998 llvm-svn: 203211
* Correct word hyphenationsAlp Toker2013-12-051-1/+1
| | | | | | | This patch tries to avoid unrelated changes other than fixing a few hyphen-related ambiguities and contractions in nearby lines. llvm-svn: 196471
* Add support for subsections to the ELF assembler. Fixes PR8717.Peter Collingbourne2013-04-171-1/+2
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D598 llvm-svn: 179725
* Add static cast to unsigned char whenever a character classification ↵Guy Benyei2013-02-121-2/+2
| | | | | | function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. llvm-svn: 175006
* Reapply 127939 since Daniel fixed the breakage. <rdar://problem/9012638>Stuart Hastings2011-03-191-0/+4
| | | | llvm-svn: 127944
* Revert 127939. <rdar://problem/9012638>Stuart Hastings2011-03-191-4/+0
| | | | llvm-svn: 127943
* Revise r126127 to address Daniel's comments. <rdar://problem/9012638>Stuart Hastings2011-03-191-0/+4
| | | | llvm-svn: 127939
* End the line if we return early. Radar 9012638.Stuart Hastings2011-02-211-1/+3
| | | | llvm-svn: 126141
* Fix to correctly support attribute((section("__DATA, __common"))).Stuart Hastings2011-02-211-7/+8
| | | | | | Radar 9012638. llvm-svn: 126127
* Add missing standard headers. Patch by Joerg Sonnenberger!Nick Lewycky2010-12-191-0/+1
| | | | llvm-svn: 122193
* make isVirtualSection a virtual method on MCSection. Chris' suggestion.Rafael Espindola2010-11-171-0/+6
| | | | llvm-svn: 119547
* Trailing whitespace.Jim Grosbach2010-10-211-25/+25
| | | | llvm-svn: 117073
* Add hook in MCSection to decide when to use "optimized nops", for eachJan Wen Voung2010-10-041-1/+4
| | | | | | | section kind. Previously, optimized nops were only used for MachO. Also added tests for ELF and COFF. llvm-svn: 115523
* Fix section attribute name.Eric Christopher2010-05-211-1/+1
| | | | llvm-svn: 104381
* MC: Add dyn_cast support to MCSection.Daniel Dunbar2010-05-171-1/+1
| | | | | | - Of questionable utility, since in general anything which wants to do this should probably be within a target specific hook, which can rely on the sections being of the appropriate type. However, it can be useful for short term hacks. llvm-svn: 103980
* Add some section and constant support for darwin TLS.Eric Christopher2010-05-171-1/+8
| | | | llvm-svn: 103974
* move elf section uniquing to MCContext. Along the wayChris Lattner2010-04-081-8/+16
| | | | | | merge XCore's section into MCSectionELF llvm-svn: 100812
* Pass StringRef by value.Daniel Dunbar2009-11-061-1/+1
| | | | llvm-svn: 86251
* Fixed MCSectionMachO::ParseSectionSpecifier to allow an attribute of "none" soKevin Enderby2009-10-071-4/+6
| | | | | | | that a symbol stub section with no attributes can be parsed as in: .section __TEXT,__picsymbolstub4,symbol_stubs,none,16 llvm-svn: 83488
* eliminate a use of strtoul.Chris Lattner2009-09-201-12/+2
| | | | llvm-svn: 82382
* rename TAI -> MAI, being careful not to make MAILJMP instructions :)Chris Lattner2009-08-221-1/+1
| | | | llvm-svn: 79777
* Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.Chris Lattner2009-08-221-1/+1
| | | | llvm-svn: 79763
* split MachO section handling stuff out to its out .h/.cpp file.Chris Lattner2009-08-101-0/+279
llvm-svn: 78576
OpenPOWER on IntegriCloud