about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorLevente Kurusa <lkurusa@acm.org>2018-09-25 20:35:19 +0200
committerLevente Kurusa <lkurusa@acm.org>2018-09-25 20:38:35 +0200
commitfec86c8352d57fd7764d0fa2c4975010c7de793e (patch)
tree76d7eb0fbda781b8ee5a5c6aca645a99d4946d7f /src/test/incremental/thinlto
parente5c6575801028f5e089ef2e7720aa1af9d452334 (diff)
downloadrust-fec86c8352d57fd7764d0fa2c4975010c7de793e.tar.gz
rust-fec86c8352d57fd7764d0fa2c4975010c7de793e.zip
codegen_llvm: check inline assembly constraints with LLVM
LLVM provides a way of checking whether the constraints and the actual
inline assembly make sense. This commit introduces a check before
emitting code for the inline assembly. If LLVM rejects the inline
assembly (or its constraints), then the compiler emits an error E0668
("malformed inline assembly").

Signed-off-by: Levente Kurusa <lkurusa@acm.org>
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions