llvm-mirror/test/MC
Simon Atanasyan 50a486e76f [MC] Accept a numeric value as an ELF section header's type
GAS supports specification of section header's type using a numeric
value [1]. This patch brings the same functionality to LLVM. That allows
to setup some target-specific section types belong to the SHT_LOPROC -
SHT_HIPROC range. If we attempt to print unknown section type, MCSectionELF
class shows an error message. It's better than print sole '@' sign
without any section type name.

In case of MIPS, example of such section's type is SHT_MIPS_DWARF.
Without the patch we will have to implement some workarounds
in probably not-MIPS-specific part of code base to convert SHT_MIPS_DWARF
to the @progbits while printing assembly and to assign SHT_MIPS_DWARF for
@progbits sections named .debug_* if we encounter such section in
an input assembly.

[1] https://sourceware.org/binutils/docs/as/Section.html

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

llvm-svn: 297446
2017-03-10 08:22:13 +00:00
..
AArch64 [AArch64] Add Cavium ThunderX support 2017-02-17 18:34:24 +00:00
AMDGPU [AMDGPU][MC] Fix for Bug 30829 + LIT tests 2017-03-03 14:31:06 +00:00
ARM [ARM] Remove t2xtpk feature from tests 2017-03-09 15:14:32 +00:00
AsmParser Move test input to directory called Inputs. 2017-01-06 10:22:15 +00:00
AVR [AVR] Add all of the machine code test suite 2016-11-09 23:46:25 +00:00
COFF MC/COFF: Do not emit forward associative section referenceds. 2017-02-17 17:32:54 +00:00
Disassembler AMDGPU: Add definition for v_swap_b32 2017-02-28 21:09:04 +00:00
ELF [MC] Accept a numeric value as an ELF section header's type 2017-03-10 08:22:13 +00:00
Hexagon [Hexagon] Fix testcase accidentally broken by r296645 2017-03-01 17:53:42 +00:00
Lanai
MachO MCMacho: Allow __thread_ptr section after dwarf sections 2017-02-01 01:31:36 +00:00
Markup
Mips [mips] Fix 64bit slt/sltu/nor with immediates 2017-02-28 15:55:23 +00:00
PowerPC [PowerPC][Altivec] Add vnot extended mnemonic 2017-02-07 18:57:29 +00:00
Sparc
SystemZ [SystemZ] Support remaining atomic instructions 2016-12-02 18:24:16 +00:00
WebAssembly [WebAssembly] Implement the wasm binary container header. 2017-02-22 18:50:20 +00:00
X86 [X86] Clzero intrinsic and its addition under znver1 2017-02-09 04:27:34 +00:00