summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/MachO/variable-exprs.s
Commit message (Collapse)AuthorAgeFilesLines
* [MachO] Fix codegen of alias of alias.Evgeniy Stepanov2017-06-081-4/+4
| | | | | | Fixes PR33316. llvm-svn: 305012
* [MachO] Add MachO alt-entry directive support.Lang Hames2016-03-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the MachO .alt_entry assembly directive, and uses it for global aliases with non-zero GEP offsets. The alt_entry flag indicates that a symbol should be layed out immediately after the preceding symbol. Conceptually it introduces an alternate entry point for a function or data structure. E.g.: safe_foo: // check preconditions for foo .alt_entry fast_foo fast_foo: // body of foo, can assume preconditions. The .alt_entry flag is also implicitly set on assembly aliases of the form: a = b + C where C is a non-zero constant, since these have the same effect as an alt_entry symbol: they introduce a label that cannot be moved relative to the preceding one. Setting the alt_entry flag on aliases of this form fixes http://llvm.org/PR25381. llvm-svn: 263521
* [MC] Convert all the remaining tests from macho-dump to llvm-readobj.Davide Italiano2015-09-101-399/+415
| | | | | | | | | This sort-of deprecates macho-dump. It may take still a little while to garbage collect it, but at least there's no real usage of it in the tree anymore. New tests should always rely on llvm-readobj or llvm-objdump. llvm-svn: 247235
* Force the MachO generated for Darwin to have VERSION_MIN load commandSteven Wu2015-08-051-20/+20
| | | | | | | | | On Darwin, it is required to stamp the object file with VERSION_MIN load command. This commit will provide a VERSRION_MIN load command to the MachO file that doesn't specify the version itself by inferring from Target Triple. llvm-svn: 244059
* MachObjectWriter: optimize the string table for common sufficesHans Wennborg2014-10-061-20/+20
| | | | | | | | This is a follow-up to r207670 (ELF) and r218636 (COFF). Differential Revision: http://reviews.llvm.org/D5622 llvm-svn: 219126
* MachO: support N_INDR aliases in assembly files.Tim Northover2014-05-301-4/+4
| | | | | | | | | This makes LLVM create N_INDR aliases (to be resolved by the linker) when appropriate. rdar://problem/15125513 llvm-svn: 209894
* MC: Change variable symbols to be recognized as defined, by assigning their ↵Daniel Dunbar2011-04-291-0/+446
sections based on FindAssociatedSection(). llvm-svn: 130523
OpenPOWER on IntegriCloud