-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode-lldb: 1.6.10 -> 1.7.4 #191133
vscode-lldb: 1.6.10 -> 1.7.4 #191133
Conversation
I tested the resulting lldb and it was able to pretty print Rust Does anyone know what the current state of @vadimcn's LLVM fork is? Maybe this is just not supported anymore, and we should be using upstream LLDB 14 instead. @oxalica, perhaps you know? Also, strangely, running
so I wasn't able to verify that indeed this derivation builds the codelldb llvm fork, as per: |
Merging this might fix #160874 |
Ah, I forgot that nix log@nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/3x1653qki8ggkmfyqkcc10hjikdsvaxb-lldb-vadimcn-src-14.0.6 source root is lldb-vadimcn-src-14.0.6/lldb @nix { "action": "setPhase", "phase": "patchPhase" } patching sources applying patch /nix/store/5b59lq7p07k6lmw59j6mf2p05ys9yrnv-procfs.patch patching file source/Plugins/Process/Linux/Procfs.h Hunk #1 succeeded at 10 (offset -1 lines). applying patch /nix/store/hkmq1snw0hykylmgnwirk46h62zg74mx-resource-dir.patch patching file cmake/modules/LLDBConfig.cmake Hunk #1 succeeded at 263 (offset 6 lines). applying patch /nix/store/j0p3kwqar11irrs4zb12ka6fzi460qa3-gnu-install-dirs.patch patching file CMakeLists.txt Hunk #1 succeeded at 10 with fuzz 2 (offset -2 lines). patching file cmake/modules/AddLLDB.cmake patching file tools/intel-features/CMakeLists.txt applying patch /nix/store/2hg0sg0w93hq9ljx3m94fg348grpz03x-fix-python-installation.patch patching file bindings/python/CMakeLists.txt @nix { "action": "setPhase", "phase": "configurePhase" } configuring fixing cmake files... cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/q03acycacv5y8y6zsczcxs5254igiwc0-lldb-vadimcn-14.0.6-lib/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/q03acycacv5y8y6zsczcxs5254igiwc0-lldb-vadimcn-14.0.6-lib/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/q03acycacv5y8y6zsczcxs5254igiwc0-lldb-vadimcn-14.0.6-lib/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/03px0b4k0xw4xbvvg6bvdpw1zp6q2fsz-lldb-vadimcn-14.0.6/share/doc/lldb -DCMAKE_INSTALL_INFODIR=/nix/store/03px0b4k0xw4xbvvg6bvdpw1zp6q2fsz-lldb-vadimcn-14.0.6/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/03px0b4k0xw4xbvvg6bvdpw1zp6q2fsz-lldb-vadimcn-14.0.6/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/mfsz7nb0lc3x3182l82vlr75620w5yz2-lldb-vadimcn-14.0.6-dev/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/mfsz7nb0lc3x3182l82vlr75620w5yz2-lldb-vadimcn-14.0.6-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/03px0b4k0xw4xbvvg6bvdpw1zp6q2fsz-lldb-vadimcn-14.0.6/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/03px0b4k0xw4xbvvg6bvdpw1zp6q2fsz-lldb-vadimcn-14.0.6/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/q03acycacv5y8y6zsczcxs5254igiwc0-lldb-vadimcn-14.0.6-lib/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/k6yka69n28j47wjhm14h41r2kbv262y6-gcc-wrapper-11.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/k6yka69n28j47wjhm14h41r2kbv262y6-gcc-wrapper-11.3.0/bin/ranlib -DCMAKE_AR=/nix/store/k6yka69n28j47wjhm14h41r2kbv262y6-gcc-wrapper-11.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/03px0b4k0xw4xbvvg6bvdpw1zp6q2fsz-lldb-vadimcn-14.0.6 -DLLDB_INCLUDE_TESTS=NO -DLLVM_ENABLE_RTTI=OFF -DClang_DIR=/nix/store/qm05p81gqavwa8xsx2vknrx41flklhai-clang-14.0.6-dev/lib/cmake -DLLVM_EXTERNAL_LIT=/nix/store/d88rn233yh1hlz3a6qx3pms3qm6mirc9-lit-14.0.0/bin/lit -DLLDB_CODESIGN_IDENTITY= -- The C compiler identification is GNU 11.3.0 -- The CXX compiler identification is GNU 11.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/k6yka69n28j47wjhm14h41r2kbv262y6-gcc-wrapper-11.3.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/k6yka69n28j47wjhm14h41r2kbv262y6-gcc-wrapper-11.3.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /nix/store/9yj3jdmm5g0jfbcmhxg0bqd75yjhlx9g-ncurses-6.3-p20220507/lib/libtinfo.so -- Found ZLIB: /nix/store/jyiybh44fcvypizjnl3yrffqr8mndhid-zlib-1.2.12/lib/libz.so (found version "1.2.12") -- Found LibXml2: /nix/store/a60blj59rlczhf411gr1lb9ghiy56mgy-libxml2-2.9.14/lib/libxml2.so (found version "2.9.14") -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- Linker detection: GNU ld -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Found LibEdit: /nix/store/1vd7c5cfwmqm80qbs4a579gawj8jhra5-libedit-20210910-3.1-dev/include (found version ".") -- Enable editline support in LLDB: TRUE -- Looking for cbreak in /nix/store/9yj3jdmm5g0jfbcmhxg0bqd75yjhlx9g-ncurses-6.3-p20220507/lib/libncurses.so -- Looking for cbreak in /nix/store/9yj3jdmm5g0jfbcmhxg0bqd75yjhlx9g-ncurses-6.3-p20220507/lib/libncurses.so - found -- Looking for nodelay in /nix/store/9yj3jdmm5g0jfbcmhxg0bqd75yjhlx9g-ncurses-6.3-p20220507/lib/libncurses.so -- Looking for nodelay in /nix/store/9yj3jdmm5g0jfbcmhxg0bqd75yjhlx9g-ncurses-6.3-p20220507/lib/libncurses.so - found -- Found CursesAndPanel: /nix/store/axr1pjba64p3afs2frkhb1ym2p20pid1-ncurses-6.3-p20220507-dev/include -- Enable curses support in LLDB: TRUE -- Could NOT find LibLZMA (missing: LIBLZMA_LIBRARY LIBLZMA_INCLUDE_DIR LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET) -- Enable LZMA compression support in LLDB: FALSE -- Found SWIG: /nix/store/ipi7r6vak09f2iq3yglcmlsc0wxhi6zv-swig-3.0.12/bin/swig (found suitable version "3.0.12", minimum required is "3.0") -- Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) (Required is exact version "5.3") -- Could NOT find LuaAndSwig (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) -- Enable Lua scripting support in LLDB: FALSE -- Found Python3: /nix/store/sz0j8k8ljh7y8qgyfxgqb3ws11bcy4gs-python3-3.10.6/bin/python3.10 (found version "3.10.6") found components: Interpreter Development Development.Module Development.Embed -- Found PythonAndSwig: /nix/store/sz0j8k8ljh7y8qgyfxgqb3ws11bcy4gs-python3-3.10.6/lib/libpython3.10.so -- Enable Python scripting support in LLDB: TRUE -- Found LibXml2: /nix/store/a60blj59rlczhf411gr1lb9ghiy56mgy-libxml2-2.9.14/lib/libxml2.so (found suitable version "2.9.14", minimum required is "2.8") -- Enable Libxml 2 support in LLDB: TRUE -- Enable libfbsdvmcore support in LLDB: 0 -- Looking for el_winsertstr -- Looking for el_winsertstr - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of el_rfunc_t -- Check size of el_rfunc_t - done -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_DECLARATIONS -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_DECLARATIONS - Success -- Performing Test CXX_SUPPORTS_NO_UNKNOWN_PRAGMAS -- Performing Test CXX_SUPPORTS_NO_UNKNOWN_PRAGMAS - Success -- Performing Test CXX_SUPPORTS_NO_STRICT_ALIASING -- Performing Test CXX_SUPPORTS_NO_STRICT_ALIASING - Success -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_REGISTER -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_REGISTER - Success -- Performing Test CXX_SUPPORTS_NO_VLA_EXTENSION -- Performing Test CXX_SUPPORTS_NO_VLA_EXTENSION - Success -- LLDB version: 14.0.6 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for ppoll -- Looking for ppoll - found -- Looking for ptsname_r -- Looking for ptsname_r - found -- Looking for accept4 -- Looking for accept4 - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for include files sys/types.h, sys/event.h -- Looking for include files sys/types.h, sys/event.h - not found -- Looking for process_vm_readv -- Looking for process_vm_readv - found -- Looking for __NR_process_vm_readv -- Looking for __NR_process_vm_readv - found -- Looking for compression_encode_buffer in compression -- Looking for compression_encode_buffer in compression - not found -- Skipping FreeBSDKernel plugin due to missing libfbsdvmcore -- Could NOT find Git (missing: GIT_EXECUTABLE) �[0m-- Symbols (liblldb): exporting all symbols from the lldb namespace�[0m -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done �[33mCMake Warning: Manually-specified variables were not used by the project: |
I fixed the build, and have verified that the output of
Should be ready for review now. |
|
Yes, it's intended. vadimcn's custom LLDB also requires a custom LLVM. |
Description of changes
nodePackages
and into a local scope withnode2nix
(this way, updating the package won't require hours to run./generate.sh
). It wasn't worth having the npm build dependencies innodePackages
anyway, as no other package would possibly depend on them.passthru.updateScript
. This means that this package can now be automatically updated.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes