diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-10-01 23:10:36 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-11-15 17:53:50 +0000 |
| commit | b550eabfa6f371270c02644a19ad45415938fd68 (patch) | |
| tree | 05e148b1cc37efffb5ee814330d1554a0d3a21f3 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 6d651a295e0e0c331153288b10b78344a4ede20b (diff) | |
| download | rust-b550eabfa6f371270c02644a19ad45415938fd68.tar.gz rust-b550eabfa6f371270c02644a19ad45415938fd68.zip | |
Introduce composite debuginfo.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index 85c520a7911..6f8bb676104 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -1111,6 +1111,10 @@ extern "C" uint64_t LLVMRustDIBuilderCreateOpPlusUconst() { return dwarf::DW_OP_plus_uconst; } +extern "C" int64_t LLVMRustDIBuilderCreateOpLLVMFragment() { + return dwarf::DW_OP_LLVM_fragment; +} + extern "C" void LLVMRustWriteTypeToString(LLVMTypeRef Ty, RustStringRef Str) { RawRustStringOstream OS(Str); unwrap<llvm::Type>(Ty)->print(OS); |
