summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/error-location.s
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-04-11 19:50:46 +0000
committerTim Northover <tnorthover@apple.com>2016-04-11 19:50:46 +0000
commit6b3169bb97a121ea9fcddafea20222b94cc59c51 (patch)
tree8dea76fe3bc1cfcf53bd2d3888b78a118f8c91e2 /llvm/test/MC/ARM/error-location.s
parent53207a99f9d6a93c12bf0114556a7f0dd7e87d1f (diff)
downloadbcm5719-llvm-6b3169bb97a121ea9fcddafea20222b94cc59c51.tar.gz
bcm5719-llvm-6b3169bb97a121ea9fcddafea20222b94cc59c51.zip
MCParser: diagnose missing directional labels more clearly.
Before, ELF at least managed a diagnostic but it was a completely untraceable "undefined symbol" error. MachO had a variety of even worse behaviours: crash, emit corrupt file, or an equally bad message. llvm-svn: 265984
Diffstat (limited to 'llvm/test/MC/ARM/error-location.s')
-rw-r--r--llvm/test/MC/ARM/error-location.s3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/test/MC/ARM/error-location.s b/llvm/test/MC/ARM/error-location.s
index 2f70f294b57..58ec585a928 100644
--- a/llvm/test/MC/ARM/error-location.s
+++ b/llvm/test/MC/ARM/error-location.s
@@ -23,9 +23,6 @@
@ CHECK: <unknown>:0: error: Common symbol 'common' cannot be used in assignment expr
.set v3, common
-@ CHECK: <unknown>:0: error: Undefined temporary symbol
- .word 5f
-
@ CHECK: <unknown>:0: error: symbol 'undef' could not be evaluated in a subtraction expression
.set v2, a-undef
OpenPOWER on IntegriCloud