[PATCH] D26969: [ARM] Emit the missing Tag_ABI_enum_size build attribute values

Alexandros Lamprineas via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 22 05:47:22 PST 2016


labrinea created this revision.
labrinea added reviewers: llvm-commits, rengolin.
Herald added a subscriber: aemerson.

The ABI for the ARM architecture <http://infocenter.arm.com/help/topic/com.arm.doc.ihi0045e/IHI0045E_ABI_addenda.pdf> describes four build attribute values for the size of enumeration types. Currently, LLVM cannot emit the value 0 (use of enums is prohibited) and 3 (every enumeration visible across an ABI-complying interface contains a value needing 32 bits to encode). This patch adds support for emitting the missing build attribute values.


https://reviews.llvm.org/D26969

Files:
  lib/Target/ARM/ARMAsmPrinter.cpp
  test/CodeGen/ARM/2016-08-24-ARM-LDST-dbginfo-bug.ll
  test/CodeGen/ARM/arm-shrink-wrapping-linux.ll
  test/CodeGen/ARM/constantpool-promote-dbg.ll
  test/CodeGen/ARM/constantpool-promote.ll
  test/CodeGen/ARM/metadata-abi-enums.ll
  test/CodeGen/ARM/metadata-default.ll
  test/CodeGen/ARM/metadata-no-enums.ll
  test/CodeGen/ARM/metadata-short-enums.ll
  test/CodeGen/ARM/metadata-short-wchar.ll
  test/CodeGen/MIR/ARM/sched-it-debug-nodes.mir
  test/DebugInfo/ARM/PR26163.ll
  test/DebugInfo/ARM/big-endian-dump.ll
  test/DebugInfo/ARM/little-endian-dump.ll
  test/DebugInfo/ARM/multiple-constant-uses-drops-dbgloc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26969.78859.patch
Type: text/x-patch
Size: 9483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161122/22052423/attachment.bin>


More information about the llvm-commits mailing list