summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/MachO/string-table.s
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-readobj][MachO] Fix section type printingSeiya Nuta2019-08-151-1/+1
| | | | | | | | | | | | | | | | | | | Summary: Currently, llvm-readobj mistakenly decodes section type as section attribute. This patch fixes the bug and affected tests. Reviewers: JDevlieghere, jhenderson, rupprecht, alexshap, echristo Reviewed By: jhenderson, rupprecht, alexshap, echristo Subscribers: javed.absar, rupprecht, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66075 llvm-svn: 368974
* [llvm-readobj] Change -t to --symbols in tests. NFCFangrui Song2019-05-011-1/+1
| | | | | | | | | | -t is --symbols in llvm-readobj but --section-details (unimplemented) in readelf. The confusing option should not be used since we aim for improving compatibility. Keep just one llvm-readobj -t use case in test/tools/llvm-readobj/symbols.test llvm-svn: 359661
* [llvm-readobj] Change -long-option to --long-option in tests. NFCFangrui Song2019-05-011-1/+1
| | | | | | | | | | We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649
* [MC] Convert all the remaining tests from macho-dump to llvm-readobj.Davide Italiano2015-09-101-97/+104
| | | | | | | | | 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-9/+9
| | | | | | | | | 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-3/+3
| | | | | | | | This is a follow-up to r207670 (ELF) and r218636 (COFF). Differential Revision: http://reviews.llvm.org/D5622 llvm-svn: 219126
* macho-dump: Fix typo.Daniel Dunbar2010-11-271-1/+1
| | | | llvm-svn: 120185
* Change section_data dumping to print hex numbers instead of usingRafael Espindola2010-09-111-1/+1
| | | | | | python's %r. llvm-svn: 113685
* MC/Mach-O: Reverse order of SymbolData scanning when emitting instructions.Daniel Dunbar2010-05-171-0/+100
- This fixes a string table mismatch with 'as' when two new symbols are defined in a single instruction. llvm-svn: 103979
OpenPOWER on IntegriCloud