projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PPC] Fix PR24686 by failing assembly for an invalid relocation
[oota-llvm.git]
/
test
/
MC
/
PowerPC
/
pr24686.s
diff --git a/test/MC/PowerPC/pr24686.s
b/test/MC/PowerPC/pr24686.s
new file mode 100644
(file)
index 0000000..
28cba23
--- /dev/null
+++ b/
test/MC/PowerPC/pr24686.s
@@ -0,0
+1,7
@@
+# RUN: not llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj %s \
+# RUN: 2>&1 | FileCheck %s
+
+_stext:
+ld %r5, p_end - _stext(%r5)
+
+# CHECK: LLVM ERROR: Invalid PC-relative half16ds relocation