From 42b0d49cf31bb9187c9b53037bd1b91255670c47 Mon Sep 17 00:00:00 2001 From: Wenju He Date: Thu, 16 Nov 2023 14:04:10 +0800 Subject: [PATCH] [NFC] Fix build after llvm commit d0ae2391 d0ae2391 adds RunTimeLang parameter to createEnumerationType function. Use default value for the new parameter. --- lib/SPIRV/SPIRVToLLVMDbgTran.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SPIRV/SPIRVToLLVMDbgTran.cpp b/lib/SPIRV/SPIRVToLLVMDbgTran.cpp index c616d5df90..75747549f7 100644 --- a/lib/SPIRV/SPIRVToLLVMDbgTran.cpp +++ b/lib/SPIRV/SPIRVToLLVMDbgTran.cpp @@ -802,7 +802,7 @@ DINode *SPIRVToLLVMDbgTran::transTypeEnum(const SPIRVExtInst *DebugInst) { UnderlyingType = transDebugInst(static_cast(E)); return getDIBuilder(DebugInst).createEnumerationType( Scope, Name, File, LineNo, SizeInBits, AlignInBits, Enumerators, - UnderlyingType, "", UnderlyingType); + UnderlyingType, 0, "", UnderlyingType); } }