about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2023-11-15 13:15:55 -0800
committerArthur Eubanks <aeubanks@google.com>2023-11-15 13:15:55 -0800
commite2c3e94be9c794d7b9e767a3be34ad863322387b (patch)
treec4bf42ea4e042ce4dbc70774f6c4c989cf4ab6b4 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent984898da1727158f096c3a07ebd9a5ac487d733f (diff)
downloadrust-e2c3e94be9c794d7b9e767a3be34ad863322387b.tar.gz
rust-e2c3e94be9c794d7b9e767a3be34ad863322387b.zip
17 -> 18
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
index 8b2c73aeffa..a0a176d31eb 100644
--- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
@@ -983,7 +983,7 @@ extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateStaticMemberType(
     unwrapDI<DIType>(Ty),
     fromRust(Flags),
     unwrap<llvm::ConstantInt>(val),
-#if LLVM_VERSION_GE(17, 0)
+#if LLVM_VERSION_GE(18, 0)
     llvm::dwarf::DW_TAG_member,
 #endif
     AlignInBits