head 1.3; access; symbols pkgsrc-2017Q1:1.2.0.2 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.1.0.8 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.6 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.4 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.2 pkgsrc-2016Q1-base:1.1; locks; strict; comment @// @; 1.3 date 2017.05.05.23.54.13; author kamil; state dead; branches; next 1.2; commitid NkdSlamcQfGl8gQz; 1.2 date 2017.03.17.22.38.17; author adam; state Exp; branches; next 1.1; commitid RtC8EMbuGmoliXJz; 1.1 date 2016.03.28.13.13.55; author kamil; state Exp; branches; next ; commitid AIERVmAyrkNOxp0z; desc @@ 1.3 log @Drop local LLDB patches for MIUtilParse This used to break standalone build. It has been fixed in upstream r280662 and r281317. @ text @$NetBSD: patch-tools_lldb-mi_MICmnBase.cpp,v 1.2 2017/03/17 22:38:17 adam Exp $ Cannot pass object of non-trivial type 'const CMIUtilString' through variadic function. --- tools/lldb-mi/MICmnBase.cpp.orig 2016-09-06 20:57:50.000000000 +0000 +++ tools/lldb-mi/MICmnBase.cpp @@@@ -122,7 +122,7 @@@@ void CMICmnBase::ClrErrorDescription() c // Return: None. // Throws: None. //-- -void CMICmnBase::SetErrorDescriptionn(const CMIUtilString vFormat, ...) const { +void CMICmnBase::SetErrorDescriptionn(const char *vFormat, ...) const { va_list args; va_start(args, vFormat); CMIUtilString strResult = CMIUtilString::FormatValist(vFormat, args); @ 1.2 log @LLVM 4.0.0: The minimum compiler version required for building LLVM has been raised to 4.8 for GCC and 2015 for Visual Studio. The C API functions LLVMAddFunctionAttr, LLVMGetFunctionAttr, LLVMRemoveFunctionAttr, LLVMAddAttribute, LLVMRemoveAttribute, LLVMGetAttribute, LLVMAddInstrAttribute and LLVMRemoveInstrAttribute have been removed. The C API enum LLVMAttribute has been deleted. The definition and uses of LLVM_ATRIBUTE_UNUSED_RESULT in the LLVM source were replaced with LLVM_NODISCARD, which matches the C++17 [[nodiscard]] semantics rather than gcc’s __attribute__((warn_unused_result)). The Timer related APIs now expect a Name and Description. When upgrading code the previously used names should become descriptions and a short name in the style of a programming language identifier should be added. LLVM now handles invariant.group across different basic blocks, which makes it possible to devirtualize virtual calls inside loops. The aggressive dead code elimination phase (“adce”) now removes branches which do not effect program behavior. Loops are retained by default since they may be infinite but these can also be removed with LLVM option -adce-remove-loops when the loop body otherwise has no live operations. The llvm-cov tool can now export coverage data as json. Its html output mode has also improved. @ text @d1 1 a1 1 $NetBSD: patch-tools_lldb-mi_MICmnBase.cpp,v 1.1 2016/03/28 13:13:55 kamil Exp $ @ 1.1 log @Import lldb-3.8.0 as devel/lldb Next generation, high-performance debugger Late import approved by @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- tools/lldb-mi/MICmnBase.cpp.orig 2016-02-21 02:08:07.000000000 +0000 d8 2 a9 1 @@@@ -127,7 +127,7 @@@@ CMICmnBase::ClrErrorDescription() const d12 5 a16 6 void -CMICmnBase::SetErrorDescriptionn(const CMIUtilString vFormat, ...) const +CMICmnBase::SetErrorDescriptionn(const char *vFormat, ...) const { va_list args; va_start(args, vFormat); @