[PATCH] D14646: [ARM, AArch64] Store source location of asm constant pool entries

Oliver Stannard via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 13 03:01:15 PST 2015


olista01 created this revision.
olista01 added a subscriber: llvm-commits.
olista01 set the repository for this revision to rL LLVM.
Herald added subscribers: rengolin, aemerson.

Storing the source location of the expression that created a constant pool entry allows us to emit better error messages if we later discover that the expression cannot be represented by a relocation.

Repository:
  rL LLVM

http://reviews.llvm.org/D14646

Files:
  include/llvm/MC/ConstantPools.h
  include/llvm/MC/MCStreamer.h
  lib/MC/ConstantPools.cpp
  lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
  test/MC/AArch64/error-location-ldr-pseudo.s
  test/MC/ARM/error-location-ldr-pseudo.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14646.40130.patch
Type: text/x-patch
Size: 8594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151113/afede223/attachment.bin>


More information about the llvm-commits mailing list