diff options
| author | Unknown <irinagpopa@gmail.com> | 2018-09-14 19:06:45 +0300 |
|---|---|---|
| committer | Unknown <irinagpopa@gmail.com> | 2018-09-14 19:06:45 +0300 |
| commit | 40e76675065925661f582cd920db1d050dc7e96f (patch) | |
| tree | 45f7f11e6deac58f4a8105f0226da68506daed45 /src/librustc_codegen_llvm/debuginfo | |
| parent | dfabe4b88509bfff1eca9060ccc9a4d28ee394e8 (diff) | |
| download | rust-40e76675065925661f582cd920db1d050dc7e96f.tar.gz rust-40e76675065925661f582cd920db1d050dc7e96f.zip | |
Remove LLVM 3.9 workaround.
Diffstat (limited to 'src/librustc_codegen_llvm/debuginfo')
| -rw-r--r-- | src/librustc_codegen_llvm/debuginfo/metadata.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/librustc_codegen_llvm/debuginfo/metadata.rs b/src/librustc_codegen_llvm/debuginfo/metadata.rs index 0221cfd9b2c..706568b5446 100644 --- a/src/librustc_codegen_llvm/debuginfo/metadata.rs +++ b/src/librustc_codegen_llvm/debuginfo/metadata.rs @@ -1803,13 +1803,7 @@ pub fn create_vtable_metadata( llvm::LLVMRustDIBuilderCreateStaticVariable(DIB(cx), NO_SCOPE_METADATA, name.as_ptr(), - // LLVM 3.9 - // doesn't accept - // null here, so - // pass the name - // as the linkage - // name. - name.as_ptr(), + ptr::null(), unknown_file_metadata(cx), UNKNOWN_LINE_NUMBER, vtable_type, |
