[PATCH] D30581: [Assembler] Add location info to unary expressions.

Sanne Wouda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 08:42:54 PST 2017


sanwou01 created this revision.
Herald added a reviewer: javed.absar.

This is a continuation of https://reviews.llvm.org/D28861.  Add an SMLoc to MCUnaryExpr such that
a better diagnostic can be given in case of an error in later stages of
assembling.


https://reviews.llvm.org/D30581

Files:
  include/llvm/MC/MCExpr.h
  lib/MC/MCExpr.cpp
  lib/MC/MCParser/AsmParser.cpp
  test/MC/AArch64/error-location-post-layout.s
  test/MC/ARM/error-location-post-layout.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30581.90495.patch
Type: text/x-patch
Size: 4712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170303/2a3d4067/attachment.bin>


More information about the llvm-commits mailing list