diff options
| author | Levente Kurusa <lkurusa@acm.org> | 2018-09-25 20:35:19 +0200 |
|---|---|---|
| committer | Levente Kurusa <lkurusa@acm.org> | 2018-09-25 20:38:35 +0200 |
| commit | fec86c8352d57fd7764d0fa2c4975010c7de793e (patch) | |
| tree | 76d7eb0fbda781b8ee5a5c6aca645a99d4946d7f /src/test/incremental/thinlto | |
| parent | e5c6575801028f5e089ef2e7720aa1af9d452334 (diff) | |
| download | rust-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
