[llvm-commits] [llvm] r126759 - in /llvm/trunk: cmake/modules/LLVMLibDeps.cmake lib/VMCore/Constants.cpp
Talin
viridia at gmail.com
Tue Mar 1 10:00:49 PST 2011
Author: talin
Date: Tue Mar 1 12:00:49 2011
New Revision: 126759
URL: http://llvm.org/viewvc/llvm-project?rev=126759&view=rev
Log:
Added missing va_end().
Modified:
llvm/trunk/cmake/modules/LLVMLibDeps.cmake
llvm/trunk/lib/VMCore/Constants.cpp
Modified: llvm/trunk/cmake/modules/LLVMLibDeps.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/LLVMLibDeps.cmake?rev=126759&r1=126758&r2=126759&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/LLVMLibDeps.cmake (original)
+++ llvm/trunk/cmake/modules/LLVMLibDeps.cmake Tue Mar 1 12:00:49 2011
@@ -61,7 +61,7 @@
set(MSVC_LIB_DEPS_LLVMX86CodeGen LLVMAnalysis LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMTarget LLVMX86AsmPrinter LLVMX86Info LLVMX86Utils)
set(MSVC_LIB_DEPS_LLVMX86Disassembler LLVMMC LLVMSupport LLVMX86Info)
set(MSVC_LIB_DEPS_LLVMX86Info LLVMMC LLVMSupport)
-set(MSVC_LIB_DEPS_LLVMX86Utils LLVMSupport)
+set(MSVC_LIB_DEPS_LLVMX86Utils LLVMCore LLVMSupport)
set(MSVC_LIB_DEPS_LLVMXCoreCodeGen LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMTarget LLVMXCoreInfo)
set(MSVC_LIB_DEPS_LLVMXCoreInfo LLVMMC LLVMSupport)
set(MSVC_LIB_DEPS_LLVMipa LLVMAnalysis LLVMCore LLVMSupport)
Modified: llvm/trunk/lib/VMCore/Constants.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Constants.cpp?rev=126759&r1=126758&r2=126759&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Constants.cpp (original)
+++ llvm/trunk/lib/VMCore/Constants.cpp Tue Mar 1 12:00:49 2011
@@ -652,6 +652,7 @@
Values.push_back(Val);
Val = va_arg(ap, llvm::Constant*);
}
+ va_end(ap);
return get(Context, Values, Packed);
}
More information about the llvm-commits
mailing list