]> granicus.if.org Git - llvm/commit
[Assembler] Improve error when unable to evaluate expression.
authorChad Rosier <mcrosier@codeaurora.org>
Thu, 19 Jan 2017 20:06:32 +0000 (20:06 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Thu, 19 Jan 2017 20:06:32 +0000 (20:06 +0000)
commitb1330a5678b050e8c8c1c7afa04488a2d1906829
tree469e0caef888bc66c72b682e3c58909a30fa3bbe
parente2c3142274a65b33c4ab4ab42d1267b9e977d66f
[Assembler] Improve error when unable to evaluate expression.

Add a SMLoc to MCExpr. Most code does not generate or consume the SMLoc (yet).

Patch by Sanne Wouda <sanne.wouda@arm.com>!
Differential Revision: https://reviews.llvm.org/D28861

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292515 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCExpr.h
lib/MC/MCExpr.cpp
lib/MC/MCFragment.cpp
lib/MC/MCParser/AsmParser.cpp
test/MC/AArch64/error-location-post-layout.s
test/MC/ARM/error-location-post-layout.s