1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/Object
Francis Visoiu Mistrih bb4cf24f14 [MC] Error on a .zerofill directive in a non-virtual section
On darwin, all virtual sections have zerofill type, and having a
.zerofill directive in a non-virtual section is not allowed. Instead of
asserting, show a nicer error.

In order to use the equivalent of .zerofill in a non-virtual section,
the usage of .zero of .space is required.

This patch replaces the assert with an error.

Differential Revision: https://reviews.llvm.org/D48517

llvm-svn: 336127
2018-07-02 17:29:43 +00:00
..
Archive.cpp Object: Find terminator correctly when reading long filenames in GNU archives (PR37244) 2018-05-08 08:22:58 +00:00
ArchiveWriter.cpp Support: Simplify endian stream interface. NFCI. 2018-05-18 19:46:24 +00:00
Binary.cpp
CMakeLists.txt
COFFImportFile.cpp [COFF] Improve correctness of def parsing for GNU features 2018-05-09 09:21:53 +00:00
COFFModuleDefinition.cpp [COFF] Improve correctness of def parsing for GNU features 2018-05-09 09:21:53 +00:00
COFFObjectFile.cpp COFF: Make SectionChunk::Relocs field an ArrayRef. NFCI. 2018-04-17 01:54:34 +00:00
Decompressor.cpp
ELF.cpp [llvm-readobj] Add experimental support for SHT_RELR sections 2018-06-28 21:07:34 +00:00
ELFObjectFile.cpp
Error.cpp
IRObjectFile.cpp
IRSymtab.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
LLVMBuild.txt
MachOObjectFile.cpp [MachO] Add out-of-bounds check to MachOObjectFile.cpp 2018-06-04 17:01:20 +00:00
MachOUniversal.cpp
ModuleSymbolTable.cpp LowerTypeTests: Propagate symver directives 2018-04-20 01:36:48 +00:00
Object.cpp
ObjectFile.cpp
RecordStreamer.cpp [MC] Error on a .zerofill directive in a non-virtual section 2018-07-02 17:29:43 +00:00
RecordStreamer.h [MC] Error on a .zerofill directive in a non-virtual section 2018-07-02 17:29:43 +00:00
SymbolicFile.cpp
SymbolSize.cpp Fix computeSymbolSizes SEGFAULT on invalid file 2018-04-23 16:08:01 +00:00
WasmObjectFile.cpp Fix MSVC "signed/unsigned mismatch" warning. NFCI. 2018-06-26 10:02:12 +00:00
WindowsResource.cpp