Translate inline assembly errors back to source locations

Fixes #17552.
This commit is contained in:
Keegan McAllister 2014-09-27 01:33:36 -07:00
parent 34dfa45718
commit 9d60de93e2
12 changed files with 133 additions and 12 deletions

View file

@ -73,6 +73,7 @@ void LLVMRustSetLastError(const char*);
typedef struct OpaqueRustString *RustStringRef;
typedef struct LLVMOpaqueTwine *LLVMTwineRef;
typedef struct LLVMOpaqueDebugLoc *LLVMDebugLocRef;
typedef struct LLVMOpaqueSMDiagnostic *LLVMSMDiagnosticRef;
extern "C" void
rust_llvm_string_write_impl(RustStringRef str, const char *ptr, size_t size);