pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jul 12 18:47:16 UTC 2021

Modified Files:
        pkgsrc/devel/lld: Makefile PLIST distinfo
        pkgsrc/devel/lld/patches: patch-CMakeLists.txt patch-ELF_Config.h
            patch-ELF_Driver.cpp
        pkgsrc/devel/lldb: Makefile PLIST buildlink3.mk distinfo
        pkgsrc/devel/lldb/patches: patch-source_API_CMakeLists.txt
            patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
Removed Files:
        pkgsrc/devel/lld/patches: patch-tools_lld_lld.cpp
            patch-tools_nb.lld_CMakeLists.txt patch-tools_nb.lld_Options.td
            patch-tools_nb.lld_nb.lld.cpp
        pkgsrc/devel/lldb/patches: patch-source_Host_CMakeLists.txt

Log Message:
lld lldb: updated to 12.0.1

12.0.1
Non-comprehensive list of changes in this release
ELF Improvements
--dependency-file has been added. (Similar to cc -M -MF.) (D82437)
--error-handling-script has been added to allow for user-defined handlers upon missing libraries. (D87758)
--exclude-libs can now localize defined version symbols and bitcode referenced libcall symbols. (D94280)
--gdb-index now works with DWARF v5 and --icf={safe,all}. (D85579) (D89751)
--gdb-index --emit-relocs can now be used together. (D94354)
--icf={safe,all} conservatively no longer fold text sections with LSDA. Previously ICF on -fexceptions code could be unsafe. (D84610)
--icf={safe,all} can now fold two sections with relocations referencing aliased symbols. (D88830)
--lto-pseudo-probe-for-profiling has been added. (D95056)
--no-lto-whole-program-visibility has been added. (D92060)
--oformat-binary has been fixed to respect LMA. (D85086)
--reproduce includes --lto-sample-profile, --just-symbols, --call-graph-ordering-file, --retain-symbols-file files.
-r --gc-sections is now supported. (D84131)
A -u specified symbol will no longer change the binding to STB_WEAK. (D88945)
--wrap support has been improved. + If foo is not referenced, there is no longer an undefined symbol __wrap_foo. + If __real_foo is not referenced, there is no longer an undefined symbol foo.
SHF_LINK_ORDER sections can now have zero sh_link values.
SHF_LINK_ORDER and non-SHF_LINK_ORDER sections can now be mixed within an input section description. (D84001)
LOG2CEIL is now supported in linker scripts. (D84054)
DEFINED has been fixed to check whether the symbol is defined. (D83758)
An input section description may now have multiple SORT_*. The matched sections are ordered by radix sort with the keys being (SORT*, --sort-section, input order). (D91127)
Users can now provide a GNU style linker script to convert .ctors into .init_array. (D91187)
An empty output section can now be discarded even if it is assigned to a program header. (D92301)
Non-SHF_ALLOC sections now have larger file offsets than SHF_ALLOC sections. (D85867)
Some symbol versioning improvements. + Defined foo@@v1 now resolve undefined foo@v1 (D92259) + Undefined foo@v1 now gets an error (D92260)
The AArch64 port now has support for STO_AARCH64_VARIANT_PCS and DT_AARCH64_VARIANT_PCS. (D93045)
The AArch64 port now has support for R_AARCH64_LD64_GOTPAGE_LO15.
The PowerPC64 port now detects missing R_PPC64_TLSGD/R_PPC64_TLSLD and disables TLS relaxation. This allows linking with object files produced by very old IBM XL compilers. (D92959)
Many PowerPC PC-relative relocations are now supported.
R_PPC_ADDR24 and R_PPC64_ADDR16_HIGH are now supported.
powerpcle is now supported. Tested with FreeBSD loader and freestanding. (D93917)
RISC-V: the first SHT_RISCV_ATTRIBUTES section is now retained. (D86309)
LTO pipeline now defaults to the new PM if the CMake variable ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER is on. (D92885)


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/lld/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/lld/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/lld/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/lld/patches/patch-CMakeLists.txt
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/lld/patches/patch-ELF_Config.h
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/lld/patches/patch-ELF_Driver.cpp
cvs rdiff -u -r1.2 -r0 pkgsrc/devel/lld/patches/patch-tools_lld_lld.cpp \
    pkgsrc/devel/lld/patches/patch-tools_nb.lld_nb.lld.cpp
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/devel/lld/patches/patch-tools_nb.lld_CMakeLists.txt \
    pkgsrc/devel/lld/patches/patch-tools_nb.lld_Options.td
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/lldb/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/lldb/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/lldb/buildlink3.mk
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/lldb/distinfo
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/devel/lldb/patches/patch-source_Host_CMakeLists.txt
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/devel/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/lld/Makefile
diff -u pkgsrc/devel/lld/Makefile:1.15 pkgsrc/devel/lld/Makefile:1.16
--- pkgsrc/devel/lld/Makefile:1.15      Sat Apr 18 08:00:49 2020
+++ pkgsrc/devel/lld/Makefile   Mon Jul 12 18:47:15 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2020/04/18 08:00:49 adam Exp $
+# $NetBSD: Makefile,v 1.16 2021/07/12 18:47:15 adam Exp $
 
 .include "../../lang/llvm/version.mk"
 
@@ -29,5 +29,6 @@ post-extract:
 
 .include "options.mk"
 .include "../../lang/llvm/buildlink3.mk"
+.include "../../lang/libunwind/buildlink3.mk"
 .include "../../lang/python/tool.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/lld/PLIST
diff -u pkgsrc/devel/lld/PLIST:1.4 pkgsrc/devel/lld/PLIST:1.5
--- pkgsrc/devel/lld/PLIST:1.4  Sat Apr 18 08:00:49 2020
+++ pkgsrc/devel/lld/PLIST      Mon Jul 12 18:47:15 2021
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2020/04/18 08:00:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/07/12 18:47:15 adam Exp $
 bin/ld.lld
 bin/ld64.lld
+bin/ld64.lld.darwinnew
 bin/lld
 bin/lld-link
-bin/nb.lld
 bin/wasm-ld
 include/lld/Common/Args.h
 include/lld/Common/DWARF.h
@@ -15,7 +15,6 @@ include/lld/Common/Memory.h
 include/lld/Common/Reproduce.h
 include/lld/Common/Strings.h
 include/lld/Common/TargetOptionsCommandFlags.h
-include/lld/Common/Threads.h
 include/lld/Common/Timer.h
 include/lld/Common/Version.h
 include/lld/Core/AbsoluteAtom.h
@@ -40,12 +39,16 @@ include/lld/Core/UndefinedAtom.h
 include/lld/Core/Writer.h
 include/lld/ReaderWriter/MachOLinkingContext.h
 include/lld/ReaderWriter/YamlContext.h
+lib/cmake/lld/LLDConfig.cmake
+lib/cmake/lld/LLDTargets-release.cmake
+lib/cmake/lld/LLDTargets.cmake
 lib/liblldCOFF.a
 lib/liblldCommon.a
 lib/liblldCore.a
 lib/liblldDriver.a
 lib/liblldELF.a
 lib/liblldMachO.a
+lib/liblldMachO2.a
 lib/liblldMinGW.a
 lib/liblldReaderWriter.a
 lib/liblldWasm.a

Index: pkgsrc/devel/lld/distinfo
diff -u pkgsrc/devel/lld/distinfo:1.11 pkgsrc/devel/lld/distinfo:1.12
--- pkgsrc/devel/lld/distinfo:1.11      Sun Jul 26 19:20:12 2020
+++ pkgsrc/devel/lld/distinfo   Mon Jul 12 18:47:15 2021
@@ -1,14 +1,10 @@
-$NetBSD: distinfo,v 1.11 2020/07/26 19:20:12 adam Exp $
+$NetBSD: distinfo,v 1.12 2021/07/12 18:47:15 adam Exp $
 
-SHA1 (lld-10.0.1.src.tar.xz) = 8581337dba00041c2633f61bfb5be778df83cff7
-RMD160 (lld-10.0.1.src.tar.xz) = e445e5a1a81dfce3428d3c05a2afcb3a31ec02f7
-SHA512 (lld-10.0.1.src.tar.xz) = cc0d206739db4c3876eb4718690e11b3eb1a2278e0d4a17a9576eef2320a2e25e1f548768f74f0877e4d00ef50471af1ce179eae9e514d41a0d93285c537941a
-Size (lld-10.0.1.src.tar.xz) = 1134580 bytes
-SHA1 (patch-CMakeLists.txt) = 87d32f66488541ba68e219f5fa83646b48bf9c71
-SHA1 (patch-ELF_Config.h) = 3f2a310bc2c8f625493b0b73702feaac22769c9c
-SHA1 (patch-ELF_Driver.cpp) = d1bd9821f2d952dfa86d4f0cf3afc4e7fb477001
+SHA1 (lld-12.0.1.src.tar.xz) = 3b7e4908f6cf3a51590e37b4194180582cc1c32c
+RMD160 (lld-12.0.1.src.tar.xz) = 35904df314f41d6e8c3052fbf7f3c2677e0c62b6
+SHA512 (lld-12.0.1.src.tar.xz) = 4292e45c54f61b8bf8b0a412f1423e062fb7c88ab3d143de3bccf010ea84fcf672ec432068a6adc461f605993d5c4e7e720e9b719d7bf8cbe670115f75e1fb2a
+Size (lld-12.0.1.src.tar.xz) = 1351580 bytes
+SHA1 (patch-CMakeLists.txt) = 32163a5bcd7d9456065e48ef6e6f0e2c3380a820
+SHA1 (patch-ELF_Config.h) = c449bf971088da671df5da507347fe8dc8c9da82
+SHA1 (patch-ELF_Driver.cpp) = 7de88cf37fb7045fb2af73faaeac79d6880ddb52
 SHA1 (patch-ELF_Options.td) = 22a1f293681b86a9aac87624efcfeeb20a4ba51c
-SHA1 (patch-tools_lld_lld.cpp) = c8b0c166cb15b045fc1651985004fc9694264d0f
-SHA1 (patch-tools_nb.lld_CMakeLists.txt) = 231ed112512d23001a8e9d1d1821838a483c2e37
-SHA1 (patch-tools_nb.lld_Options.td) = d56ff977f24d97eda30f10aae5818c618b3c7915
-SHA1 (patch-tools_nb.lld_nb.lld.cpp) = 2425426beb2f4d80f96781977e3a4019eed601fc

Index: pkgsrc/devel/lld/patches/patch-CMakeLists.txt
diff -u pkgsrc/devel/lld/patches/patch-CMakeLists.txt:1.2 pkgsrc/devel/lld/patches/patch-CMakeLists.txt:1.3
--- pkgsrc/devel/lld/patches/patch-CMakeLists.txt:1.2   Sun Nov  3 12:10:29 2019
+++ pkgsrc/devel/lld/patches/patch-CMakeLists.txt       Mon Jul 12 18:47:15 2021
@@ -1,15 +1,12 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2019/11/03 12:10:29 kamil Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.3 2021/07/12 18:47:15 adam Exp $
 
 LLD 7.0.1 is incompatible with gtest version in pkgsrc.  Remove
 the condition that prevents it from building its own copy when system
 version is installed.
 
-[LLD] Add NetBSD support as a new flavor of LLD (nb.lld)
-https://reviews.llvm.org/D69755
-
---- CMakeLists.txt.orig        2019-08-26 12:32:18.000000000 +0000
+--- CMakeLists.txt.orig        2021-04-06 16:38:18.000000000 +0000
 +++ CMakeLists.txt
-@@ -85,7 +85,6 @@ Please install Python or specify the PYT
+@@ -76,7 +76,6 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRE
        endif()
        set(UNITTEST_DIR ${LLVM_MAIN_SRC_DIR}/utils/unittest)
        if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h
@@ -17,11 +14,3 @@ https://reviews.llvm.org/D69755
            AND EXISTS ${UNITTEST_DIR}/CMakeLists.txt)
          add_subdirectory(${UNITTEST_DIR} utils/unittest)
        endif()
-@@ -212,6 +211,7 @@ endif()
- add_subdirectory(Common)
- add_subdirectory(lib)
- add_subdirectory(tools/lld)
-+add_subdirectory(tools/nb.lld)
- 
- if (LLVM_INCLUDE_TESTS)
-   add_subdirectory(test)

Index: pkgsrc/devel/lld/patches/patch-ELF_Config.h
diff -u pkgsrc/devel/lld/patches/patch-ELF_Config.h:1.7 pkgsrc/devel/lld/patches/patch-ELF_Config.h:1.8
--- pkgsrc/devel/lld/patches/patch-ELF_Config.h:1.7     Sat Apr 18 08:00:50 2020
+++ pkgsrc/devel/lld/patches/patch-ELF_Config.h Mon Jul 12 18:47:15 2021
@@ -1,14 +1,14 @@
-$NetBSD: patch-ELF_Config.h,v 1.7 2020/04/18 08:00:50 adam Exp $
+$NetBSD: patch-ELF_Config.h,v 1.8 2021/07/12 18:47:15 adam Exp $
 
 Add dummy option for an AArch64 erratum.
 
---- ELF/Config.h.orig  2020-03-23 15:01:02.000000000 +0000
+--- ELF/Config.h.orig  2020-10-07 10:10:48.000000000 +0000
 +++ ELF/Config.h
-@@ -150,6 +150,7 @@ struct Configuration {
+@@ -156,6 +156,7 @@ struct Configuration {
    bool enableNewDtags;
    bool executeOnly;
    bool exportDynamic;
 +  bool fixCortexA53Errata835769;
    bool fixCortexA53Errata843419;
    bool fixCortexA8;
-   bool forceBTI;
+   bool formatBinary = false;

Index: pkgsrc/devel/lld/patches/patch-ELF_Driver.cpp
diff -u pkgsrc/devel/lld/patches/patch-ELF_Driver.cpp:1.8 pkgsrc/devel/lld/patches/patch-ELF_Driver.cpp:1.9
--- pkgsrc/devel/lld/patches/patch-ELF_Driver.cpp:1.8   Sat Apr 18 08:00:50 2020
+++ pkgsrc/devel/lld/patches/patch-ELF_Driver.cpp       Mon Jul 12 18:47:15 2021
@@ -1,10 +1,10 @@
-$NetBSD: patch-ELF_Driver.cpp,v 1.8 2020/04/18 08:00:50 adam Exp $
+$NetBSD: patch-ELF_Driver.cpp,v 1.9 2021/07/12 18:47:15 adam Exp $
 
 Add dummy option for an AArch64 erratum.
 
---- ELF/Driver.cpp.orig        2020-03-23 15:01:02.000000000 +0000
+--- ELF/Driver.cpp.orig        2020-10-07 10:10:48.000000000 +0000
 +++ ELF/Driver.cpp
-@@ -132,7 +132,7 @@ static std::tuple<ELFKind, uint16_t, uin
+@@ -135,7 +135,7 @@ static std::tuple<ELFKind, uint16_t, uin
    std::pair<ELFKind, uint16_t> ret =
        StringSwitch<std::pair<ELFKind, uint16_t>>(s)
            .Cases("aarch64elf", "aarch64linux", "aarch64_elf64_le_vec",
@@ -13,7 +13,7 @@ Add dummy option for an AArch64 erratum.
            .Cases("armelf", "armelf_linux_eabi", {ELF32LEKind, EM_ARM})
            .Case("elf32_x86_64", {ELF32LEKind, EM_X86_64})
            .Cases("elf32btsmip", "elf32btsmipn32", {ELF32BEKind, EM_MIPS})
-@@ -296,6 +296,9 @@ static void checkOptions() {
+@@ -300,6 +300,9 @@ static void checkOptions() {
    if (config->emachine == EM_MIPS && config->gnuHash)
      error("the .gnu.hash section is not compatible with the MIPS target");
  
@@ -23,11 +23,12 @@ Add dummy option for an AArch64 erratum.
    if (config->fixCortexA53Errata843419 && config->emachine != EM_AARCH64)
      error("--fix-cortex-a53-843419 is only supported on AArch64 targets");
  
-@@ -879,6 +882,7 @@ static void readConfigs(opt::InputArgLis
+@@ -937,6 +940,8 @@ static void readConfigs(opt::InputArgLis
        args.hasFlag(OPT_export_dynamic, OPT_no_export_dynamic, false);
    config->filterList = args::getStrings(args, OPT_filter);
    config->fini = args.getLastArgValue(OPT_fini, "_fini");
-+  config->fixCortexA53Errata835769 = args.hasArg(OPT_fix_cortex_a53_843419);
-   config->fixCortexA53Errata843419 = args.hasArg(OPT_fix_cortex_a53_843419);
-   config->fixCortexA8 = args.hasArg(OPT_fix_cortex_a8);
-   config->forceBTI = hasZOption(args, "force-bti");
++  config->fixCortexA53Errata835769 = args.hasArg(OPT_fix_cortex_a53_843419) &&
++                                     !args.hasArg(OPT_relocatable);
+   config->fixCortexA53Errata843419 = args.hasArg(OPT_fix_cortex_a53_843419) &&
+                                      !args.hasArg(OPT_relocatable);
+   config->fixCortexA8 =

Index: pkgsrc/devel/lldb/Makefile
diff -u pkgsrc/devel/lldb/Makefile:1.32 pkgsrc/devel/lldb/Makefile:1.33
--- pkgsrc/devel/lldb/Makefile:1.32     Fri Dec  4 20:45:11 2020
+++ pkgsrc/devel/lldb/Makefile  Mon Jul 12 18:47:15 2021
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.32 2020/12/04 20:45:11 nia Exp $
+# $NetBSD: Makefile,v 1.33 2021/07/12 18:47:15 adam Exp $
 
 .include "../../lang/llvm/version.mk"
 
 DISTNAME=      lldb-${LLVM_VERSION}.src
 PKGNAME=       ${DISTNAME:S/.src//}
-PKGREVISION=   3
 CATEGORIES=    devel lang
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -31,7 +30,8 @@ CMAKE_ARGS+=  -DCMAKE_C_COMPILER=${CC:Q}
 CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${CXX:Q}
 CMAKE_ARGS+=   -DHAVE_CXX_ATOMICS64_WITHOUT_LIB=ON
 CMAKE_ARGS+=   -DLLDB_CODESIGN_IDENTITY=""
-CMAKE_ARGS+=   -DLLDB_USE_SYSTEM_SIX:BOOL=TRUE
+CMAKE_ARGS+=   -DLLDB_USE_SYSTEM_SIX=ON
+CMAKE_ARGS+=   -DPYTHON_HOME=${PREFIX}
 
 CHECK_PORTABILITY_SKIP=        utils/buildit/build_llvm
 

Index: pkgsrc/devel/lldb/PLIST
diff -u pkgsrc/devel/lldb/PLIST:1.12 pkgsrc/devel/lldb/PLIST:1.13
--- pkgsrc/devel/lldb/PLIST:1.12        Sat Apr 18 07:59:44 2020
+++ pkgsrc/devel/lldb/PLIST     Mon Jul 12 18:47:15 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2020/04/18 07:59:44 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2021/07/12 18:47:15 adam Exp $
 bin/lldb
 bin/lldb-argdumper
 bin/lldb-instr
@@ -13,6 +13,7 @@ include/lldb/API/SBBreakpointLocation.h
 include/lldb/API/SBBreakpointName.h
 include/lldb/API/SBBroadcaster.h
 include/lldb/API/SBCommandInterpreter.h
+include/lldb/API/SBCommandInterpreterRunOptions.h
 include/lldb/API/SBCommandReturnObject.h
 include/lldb/API/SBCommunication.h
 include/lldb/API/SBCompileUnit.h
@@ -20,6 +21,7 @@ include/lldb/API/SBData.h
 include/lldb/API/SBDebugger.h
 include/lldb/API/SBDeclaration.h
 include/lldb/API/SBDefines.h
+include/lldb/API/SBEnvironment.h
 include/lldb/API/SBError.h
 include/lldb/API/SBEvent.h
 include/lldb/API/SBExecutionContext.h
@@ -93,7 +95,8 @@ include/lldb/Breakpoint/BreakpointSite.h
 include/lldb/Breakpoint/BreakpointSiteList.h
 include/lldb/Breakpoint/Stoppoint.h
 include/lldb/Breakpoint/StoppointCallbackContext.h
-include/lldb/Breakpoint/StoppointLocation.h
+include/lldb/Breakpoint/StoppointHitCounter.h
+include/lldb/Breakpoint/StoppointSite.h
 include/lldb/Breakpoint/Watchpoint.h
 include/lldb/Breakpoint/WatchpointList.h
 include/lldb/Breakpoint/WatchpointOptions.h
@@ -103,7 +106,6 @@ include/lldb/Core/AddressResolver.h
 include/lldb/Core/AddressResolverFileLine.h
 include/lldb/Core/AddressResolverName.h
 include/lldb/Core/Architecture.h
-include/lldb/Core/ClangForward.h
 include/lldb/Core/Communication.h
 include/lldb/Core/Debugger.h
 include/lldb/Core/Disassembler.h
@@ -227,7 +229,6 @@ include/lldb/Host/SafeMachO.h
 include/lldb/Host/Socket.h
 include/lldb/Host/SocketAddress.h
 include/lldb/Host/StringConvert.h
-include/lldb/Host/TaskPool.h
 include/lldb/Host/Terminal.h
 include/lldb/Host/ThreadLauncher.h
 include/lldb/Host/Time.h
@@ -280,7 +281,6 @@ include/lldb/Interpreter/CommandHistory.
 include/lldb/Interpreter/CommandInterpreter.h
 include/lldb/Interpreter/CommandObject.h
 include/lldb/Interpreter/CommandObjectMultiword.h
-include/lldb/Interpreter/CommandObjectRegexCommand.h
 include/lldb/Interpreter/CommandOptionValidators.h
 include/lldb/Interpreter/CommandReturnObject.h
 include/lldb/Interpreter/OptionArgParser.h
@@ -305,6 +305,7 @@ include/lldb/Interpreter/OptionValueBool
 include/lldb/Interpreter/OptionValueChar.h
 include/lldb/Interpreter/OptionValueDictionary.h
 include/lldb/Interpreter/OptionValueEnumeration.h
+include/lldb/Interpreter/OptionValueFileColonLine.h
 include/lldb/Interpreter/OptionValueFileSpec.h
 include/lldb/Interpreter/OptionValueFileSpecList.h
 include/lldb/Interpreter/OptionValueFormat.h
@@ -324,17 +325,11 @@ include/lldb/Interpreter/ScriptInterpret
 include/lldb/Symbol/ArmUnwindInfo.h
 include/lldb/Symbol/Block.h
 include/lldb/Symbol/CallFrameInfo.h
-include/lldb/Symbol/ClangASTContext.h
-include/lldb/Symbol/ClangASTImporter.h
-include/lldb/Symbol/ClangASTMetadata.h
-include/lldb/Symbol/ClangExternalASTSourceCallbacks.h
-include/lldb/Symbol/ClangUtil.h
 include/lldb/Symbol/CompactUnwindInfo.h
 include/lldb/Symbol/CompileUnit.h
 include/lldb/Symbol/CompilerDecl.h
 include/lldb/Symbol/CompilerDeclContext.h
 include/lldb/Symbol/CompilerType.h
-include/lldb/Symbol/CxxModuleHandler.h
 include/lldb/Symbol/DWARFCallFrameInfo.h
 include/lldb/Symbol/DebugMacros.h
 include/lldb/Symbol/DeclVendor.h
@@ -364,6 +359,7 @@ include/lldb/Symbol/UnwindTable.h
 include/lldb/Symbol/Variable.h
 include/lldb/Symbol/VariableList.h
 include/lldb/Target/ABI.h
+include/lldb/Target/AssertFrameRecognizer.h
 include/lldb/Target/DynamicLoader.h
 include/lldb/Target/ExecutionContext.h
 include/lldb/Target/ExecutionContextScope.h
@@ -380,15 +376,19 @@ include/lldb/Target/ModuleCache.h
 include/lldb/Target/OperatingSystem.h
 include/lldb/Target/PathMappingList.h
 include/lldb/Target/Platform.h
+include/lldb/Target/PostMortemProcess.h
 include/lldb/Target/Process.h
 include/lldb/Target/ProcessStructReader.h
+include/lldb/Target/ProcessTrace.h
 include/lldb/Target/Queue.h
 include/lldb/Target/QueueItem.h
 include/lldb/Target/QueueList.h
 include/lldb/Target/RegisterCheckpoint.h
 include/lldb/Target/RegisterContext.h
+include/lldb/Target/RegisterContextUnwind.h
 include/lldb/Target/RegisterNumber.h
 include/lldb/Target/RemoteAwarePlatform.h
+include/lldb/Target/Runtime.h
 include/lldb/Target/SectionLoadHistory.h
 include/lldb/Target/SectionLoadList.h
 include/lldb/Target/StackFrame.h
@@ -412,6 +412,7 @@ include/lldb/Target/ThreadPlanCallUserEx
 include/lldb/Target/ThreadPlanPython.h
 include/lldb/Target/ThreadPlanRunToAddress.h
 include/lldb/Target/ThreadPlanShouldStopHere.h
+include/lldb/Target/ThreadPlanStack.h
 include/lldb/Target/ThreadPlanStepInRange.h
 include/lldb/Target/ThreadPlanStepInstruction.h
 include/lldb/Target/ThreadPlanStepOut.h
@@ -422,9 +423,13 @@ include/lldb/Target/ThreadPlanStepThroug
 include/lldb/Target/ThreadPlanStepUntil.h
 include/lldb/Target/ThreadPlanTracer.h
 include/lldb/Target/ThreadSpec.h
+include/lldb/Target/ThreadTrace.h
+include/lldb/Target/Trace.h
+include/lldb/Target/TraceSessionFileParser.h
 include/lldb/Target/UnixSignals.h
 include/lldb/Target/Unwind.h
 include/lldb/Target/UnwindAssembly.h
+include/lldb/Target/UnwindLLDB.h
 include/lldb/Utility/AnsiTerminal.h
 include/lldb/Utility/ArchSpec.h
 include/lldb/Utility/Args.h
@@ -451,6 +456,7 @@ include/lldb/Utility/Listener.h
 include/lldb/Utility/Log.h
 include/lldb/Utility/Logging.h
 include/lldb/Utility/NameMatches.h
+include/lldb/Utility/OptionDefinition.h
 include/lldb/Utility/Predicate.h
 include/lldb/Utility/ProcessInfo.h
 include/lldb/Utility/RangeMap.h
@@ -458,10 +464,10 @@ include/lldb/Utility/RegisterValue.h
 include/lldb/Utility/RegularExpression.h
 include/lldb/Utility/Reproducer.h
 include/lldb/Utility/ReproducerInstrumentation.h
+include/lldb/Utility/ReproducerProvider.h
 include/lldb/Utility/Scalar.h
 include/lldb/Utility/SelectHelper.h
 include/lldb/Utility/SharedCluster.h
-include/lldb/Utility/SharingPtr.h
 include/lldb/Utility/State.h
 include/lldb/Utility/Status.h
 include/lldb/Utility/Stream.h
@@ -478,11 +484,13 @@ include/lldb/Utility/Timeout.h
 include/lldb/Utility/Timer.h
 include/lldb/Utility/TraceOptions.h
 include/lldb/Utility/UUID.h
+include/lldb/Utility/UnimplementedError.h
 include/lldb/Utility/UriParser.h
 include/lldb/Utility/UserID.h
 include/lldb/Utility/UserIDResolver.h
 include/lldb/Utility/VASPrintf.h
 include/lldb/Utility/VMRange.h
+include/lldb/Utility/XcodeSDK.h
 include/lldb/lldb-defines.h
 include/lldb/lldb-enumerations.h
 include/lldb/lldb-forward.h
@@ -497,7 +505,7 @@ include/lldb/lldb-types.h
 include/lldb/lldb-versioning.h
 lib/liblldb.so
 lib/liblldb.so.${PKGVERSION}
-${PLIST.posix}lib/liblldb.so.10
+${PLIST.posix}lib/liblldb.so.12
 ${PYSITELIB}/lldb/__init__.py
 ${PYSITELIB}/lldb/_lldb.so
 ${PYSITELIB}/lldb/embedded_interpreter.py

Index: pkgsrc/devel/lldb/buildlink3.mk
diff -u pkgsrc/devel/lldb/buildlink3.mk:1.10 pkgsrc/devel/lldb/buildlink3.mk:1.11
--- pkgsrc/devel/lldb/buildlink3.mk:1.10        Thu Nov  5 09:06:51 2020
+++ pkgsrc/devel/lldb/buildlink3.mk     Mon Jul 12 18:47:15 2021
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2020/11/05 09:06:51 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2021/07/12 18:47:15 adam Exp $
 
 BUILDLINK_TREE+=       lldb
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        lldb
 LLDB_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.lldb+=   lldb>=9.0.1
-BUILDLINK_ABI_DEPENDS.lldb+=   lldb>=10.0.1nb2
+BUILDLINK_ABI_DEPENDS.lldb+=   lldb>=11.1.0nb1
 BUILDLINK_PKGSRCDIR.lldb?=     ../../devel/lldb
 
 .include "../../devel/zlib/buildlink3.mk"

Index: pkgsrc/devel/lldb/distinfo
diff -u pkgsrc/devel/lldb/distinfo:1.24 pkgsrc/devel/lldb/distinfo:1.25
--- pkgsrc/devel/lldb/distinfo:1.24     Wed Sep 23 06:58:46 2020
+++ pkgsrc/devel/lldb/distinfo  Mon Jul 12 18:47:15 2021
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.24 2020/09/23 06:58:46 adam Exp $
+$NetBSD: distinfo,v 1.25 2021/07/12 18:47:15 adam Exp $
 
-SHA1 (lldb-10.0.1.src.tar.xz) = 90b946ff7b850bcded598509a10d0795e7da3f63
-RMD160 (lldb-10.0.1.src.tar.xz) = 59442a4685c7c6c2468477ce16fa09e4fef8540d
-SHA512 (lldb-10.0.1.src.tar.xz) = d7155cd6a7e2244cbf1f6114d790fdf2e667fd6285e2fc3a08a8f49c8e08f32827d7fa83d741ea0b54b788bd13c0c7498cf312a2cd3e86e049606869341b482e
-Size (lldb-10.0.1.src.tar.xz) = 9632124 bytes
+SHA1 (lldb-12.0.1.src.tar.xz) = 07c4844f5a13ff063fed5b7c5c67b8aef4d1bb7b
+RMD160 (lldb-12.0.1.src.tar.xz) = 0712a6e836a052fc20fe6963f0a4d6f0d6b8a7ec
+SHA512 (lldb-12.0.1.src.tar.xz) = df3c8e088bf69fb843cd7365fd2df4cefb72c9a313511fb0d0fa3e06e7d12cada35a1d621ec4312c99799e68ff76955423993ce0310c58f74ccd5151984f38ee
+Size (lldb-12.0.1.src.tar.xz) = 9837800 bytes
 SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 55a8d614cc52872968fc7c7c205c7d6e4021b538
-SHA1 (patch-source_API_CMakeLists.txt) = ed630498cdd30f6f11c5fbfa8d9f539baeba5a2c
-SHA1 (patch-source_Host_CMakeLists.txt) = 5c7ae7b896aa110fe7ab21ed3616350e0958bc2a
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = e3044c199a9382960c666ad42ca69b90828b686b
+SHA1 (patch-source_API_CMakeLists.txt) = edc7bdaa39436dd8df6c5e8172f39c5329fa8cb2
+SHA1 (patch-source_Plugins_ObjectFile_Mach-O_ObjectFileMachO.cpp) = 8c7047e88223724c7800e1c4399885ab704b49ff
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = b2fcd2a6fbe7c9c514df657d60b21a93d9d4667c
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h) = 1a01bed99b146a7c3e8bcdc559dc2755f997ac4c

Index: pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt
diff -u pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt:1.4 pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt:1.5
--- pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt:1.4       Sat Apr 18 07:59:44 2020
+++ pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt   Mon Jul 12 18:47:16 2021
@@ -1,11 +1,11 @@
-$NetBSD: patch-source_API_CMakeLists.txt,v 1.4 2020/04/18 07:59:44 adam Exp $
+$NetBSD: patch-source_API_CMakeLists.txt,v 1.5 2021/07/12 18:47:16 adam Exp $
 
 Fix finding libxml2's includes.
 
---- source/API/CMakeLists.txt.orig     2020-03-23 15:01:02.000000000 +0000
+--- source/API/CMakeLists.txt.orig     2021-04-06 16:38:18.000000000 +0000
 +++ source/API/CMakeLists.txt
-@@ -19,6 +19,10 @@ if(LLDB_BUILD_FRAMEWORK)
-   set(option_framework FRAMEWORK)
+@@ -19,6 +19,10 @@ if(LLDB_ENABLE_LUA)
+   set(lldb_lua_wrapper ${lua_bindings_dir}/LLDBWrapLua.cpp)
  endif()
  
 +if(LIBXML2_FOUND)

Index: pkgsrc/devel/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
diff -u pkgsrc/devel/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp:1.1 pkgsrc/devel/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp:1.2
--- pkgsrc/devel/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp:1.1   Sat Sep 19 17:25:02 2020
+++ pkgsrc/devel/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp       Mon Jul 12 18:47:16 2021
@@ -1,10 +1,10 @@
-$NetBSD: patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp,v 1.1 2020/09/19 17:25:02 he Exp $
+$NetBSD: patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp,v 1.2 2021/07/12 18:47:16 adam Exp $
 
 Provide StopProcess.
 
---- source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp.orig 2020-07-07 16:21:37.000000000 +0000
+--- source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp.orig 2021-04-06 16:38:18.000000000 +0000
 +++ source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
-@@ -344,6 +344,29 @@ void NativeProcessNetBSD::MonitorSignal(
+@@ -346,6 +346,29 @@ void NativeProcessNetBSD::MonitorSignal(
    SetState(StateType::eStateStopped, true);
  }
  
@@ -34,15 +34,15 @@ Provide StopProcess.
  Status NativeProcessNetBSD::PtraceWrapper(int req, lldb::pid_t pid, void *addr,
                                            int data, int *result) {
    Log *log(ProcessPOSIXLog::GetLogIfAllCategoriesSet(POSIX_LOG_PTRACE));
-@@ -497,7 +520,7 @@ Status NativeProcessNetBSD::Resume(const
+@@ -498,7 +521,7 @@ Status NativeProcessNetBSD::Resume(const
+   return ret;
  }
  
- Status NativeProcessNetBSD::Halt() {
--  return PtraceWrapper(PT_STOP, GetID());
-+  return StopProcess(GetID());
- }
+-Status NativeProcessNetBSD::Halt() { return PtraceWrapper(PT_STOP, GetID()); }
++Status NativeProcessNetBSD::Halt() { return StopProcess(GetID()); }
  
  Status NativeProcessNetBSD::Detach() {
+   Status error;
 @@ -523,7 +546,7 @@ Status NativeProcessNetBSD::Signal(int s
  }
  



Home | Main Index | Thread Index | Old Index