llvm-project/llvm/test/MC
Richard Smith d0c0c13447 Fix ODR violations due to abuse of LLVM_YAML_IS_(FLOW_)?SEQUENCE_VECTOR
This is a short-term fix for PR33650 aimed to get the modules build bots green again.

Remove all the places where we use the LLVM_YAML_IS_(FLOW_)?SEQUENCE_VECTOR
macros to try to locally specialize a global template for a global type. That's
not how C++ works.

Instead, we now centrally define how to format vectors of fundamental types and
of string (std::string and StringRef). We use flow formatting for the former
cases, since that's the obvious right thing to do; in the latter case, it's
less clear what the right choice is, but flow formatting is really bad for some
cases (due to very long strings), so we pick block formatting. (Many of the
cases that were using flow formatting for strings are improved by this change.)

Other than the flow -> block formatting change for some vectors of strings,
this should result in no functionality change.

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

Corresponding updates to clang, clang-tools-extra, and lld to follow.

llvm-svn: 306878
2017-06-30 20:56:57 +00:00
..
AArch64 [COFF, ARM64] Add support for Windows ARM64 COFF format 2017-06-27 23:58:19 +00:00
AMDGPU Fix ODR violations due to abuse of LLVM_YAML_IS_(FLOW_)?SEQUENCE_VECTOR 2017-06-30 20:56:57 +00:00
ARM ARM: move some logic from processFixupValue to applyFixup. 2017-06-23 22:52:36 +00:00
AVR [AVR] Fix a bug so that we now emit R_AVR_16 fixups with the correct offset 2017-04-30 23:33:52 +00:00
AsmParser fix trivial typo in comment, NFC 2017-06-26 06:32:04 +00:00
COFF COFF: Produce an error on invalid pcrel relocs. 2017-06-23 04:07:44 +00:00
Disassembler [SystemZ] Add all remaining instructions 2017-06-30 20:43:40 +00:00
ELF Add a common error checking for some invalid expressions. 2017-06-22 17:25:35 +00:00
Hexagon [Hexagon] Handle a global operand to A2_addi when creating duplexes 2017-06-22 15:53:31 +00:00
Lanai [lanai] Add more tests for assembly of conditional ALU ops 2016-07-11 17:58:16 +00:00
MachO IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata. 2017-06-12 20:10:48 +00:00
Markup
Mips [MIPS] Handle PIC load address macro instructions in N64. 2017-06-30 15:44:27 +00:00
PowerPC [Power9] Added support for the modsw, moduw, modsd, modud hardware instructions. 2017-06-12 17:58:42 +00:00
Sparc [Sparc] Remove execute permissions from non-executable text files 2017-05-17 11:05:20 +00:00
SystemZ [SystemZ] Add all remaining instructions 2017-06-30 20:43:40 +00:00
WebAssembly [WebAssembly] Add data size and alignement to linking section 2017-06-27 20:27:59 +00:00
X86 Fix PR33625. 2017-06-28 17:56:07 +00:00