[Lldb-commits] [lldb] [lldb] Handle clang::Language::CIR (PR #86234)

2024-03-21 Thread Nathan Lanza via lldb-commits
https://github.com/lanza approved this pull request. https://github.com/llvm/llvm-project/pull/86234 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 33c79f7 - Revert "[lldb] add a missing dependency on intrinsics_gen"

2020-11-20 Thread Nathan Lanza via lldb-commits
Author: Nathan Lanza Date: 2020-11-20T16:02:16-05:00 New Revision: 33c79f76af75ea4e64cc252fe9d6527a0352e6e7 URL: https://github.com/llvm/llvm-project/commit/33c79f76af75ea4e64cc252fe9d6527a0352e6e7 DIFF: https://github.com/llvm/llvm-project/commit/33c79f76af75ea4e64cc252fe9d6527a0352e6e7.diff

[Lldb-commits] [lldb] 137ff73 - [lldb] add a missing dependency on intrinsics_gen

2020-11-06 Thread Nathan Lanza via lldb-commits
Author: Richard Howell Date: 2020-11-06T13:15:08-05:00 New Revision: 137ff7331705179c83533a074d800c481b7df1ac URL: https://github.com/llvm/llvm-project/commit/137ff7331705179c83533a074d800c481b7df1ac DIFF: https://github.com/llvm/llvm-project/commit/137ff7331705179c83533a074d800c481b7df1ac.diff

[Lldb-commits] [lldb] r366650 - [NativePDB] Make GetOrCreateDeclForUid return an lldb CompilerDecl

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Sun Jul 21 00:46:18 2019 New Revision: 366650 URL: http://llvm.org/viewvc/llvm-project?rev=366650&view=rev Log: [NativePDB] Make GetOrCreateDeclForUid return an lldb CompilerDecl We intend to make PdbAstBuilder abstract and implement PdbAstBuilderClang along with any other lan

[Lldb-commits] [lldb] r370106 - [Platform/Android] Read the adb server from an env variable if set

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Tue Aug 27 13:00:02 2019 New Revision: 370106 URL: http://llvm.org/viewvc/llvm-project?rev=370106&view=rev Log: [Platform/Android] Read the adb server from an env variable if set Summary: The environment variable ANDROID_ADB_SERVER_PORT can be defined to have adbd litsen on a

[Lldb-commits] [lldb] r346994 - Implement basic DidAttach and DidLaunch for DynamicLoaderWindowsDYLD

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Thu Nov 15 12:58:09 2018 New Revision: 346994 URL: http://llvm.org/viewvc/llvm-project?rev=346994&view=rev Log: Implement basic DidAttach and DidLaunch for DynamicLoaderWindowsDYLD Summary: This commit implements basic DidAttach and DidLaunch for the windows DynamicLoader plug

[Lldb-commits] [lldb] r366293 - [NativePDB] Make GetTranslationUnitDecl return an lldb CompilerDeclCtx

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Wed Jul 17 00:05:49 2019 New Revision: 366293 URL: http://llvm.org/viewvc/llvm-project?rev=366293&view=rev Log: [NativePDB] Make GetTranslationUnitDecl return an lldb CompilerDeclCtx Summary: We intend to make PdbAstBuilder abstract and implement PdbAstBuilderClang along with

[Lldb-commits] [lldb] r346281 - Remove working directory for debugserver code signing target

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Tue Nov 6 15:54:52 2018 New Revision: 346281 URL: http://llvm.org/viewvc/llvm-project?rev=346281&view=rev Log: Remove working directory for debugserver code signing target Summary: LLVM puts output binaries in `${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin`. This chunk

[Lldb-commits] [lldb] r346174 - Set stdout/stdin to binary mode on Windows

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Mon Nov 5 14:25:00 2018 New Revision: 346174 URL: http://llvm.org/viewvc/llvm-project?rev=346174&view=rev Log: Set stdout/stdin to binary mode on Windows Summary: A file opened in text mode on Windows will have `\n` automatically changed to `13,10` while Darwin and Linux lea

[Lldb-commits] [lldb] r365868 - [windows] re-call signal in sigint_handler for Windows

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Thu Jul 11 21:43:46 2019 New Revision: 365868 URL: http://llvm.org/viewvc/llvm-project?rev=365868&view=rev Log: [windows] re-call signal in sigint_handler for Windows Summary: Windows requires re-setting the signal handler each time it is used and thus ctrl-c was not behaving

[Lldb-commits] [lldb] r366345 - [NativePDB] Add a FromCompilerDecl for going from lldb -> clang

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Wed Jul 17 09:43:36 2019 New Revision: 366345 URL: http://llvm.org/viewvc/llvm-project?rev=366345&view=rev Log: [NativePDB] Add a FromCompilerDecl for going from lldb -> clang Summary: A common transformation in NativePDB is to go from lldb types to clang types and vice versa.

[Lldb-commits] [lldb] r357044 - Get the lang from the CompileUnit for ParseCompileUnitFunctionForPDBFunc

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Tue Mar 26 18:24:03 2019 New Revision: 357044 URL: http://llvm.org/viewvc/llvm-project?rev=357044&view=rev Log: Get the lang from the CompileUnit for ParseCompileUnitFunctionForPDBFunc Summary: Instead of assuming that the language is C++ instead check the compunit for the lan

[Lldb-commits] [lldb] r366394 - Only build lldb-tblgen if it's not a current target

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Wed Jul 17 18:26:53 2019 New Revision: 366394 URL: http://llvm.org/viewvc/llvm-project?rev=366394&view=rev Log: Only build lldb-tblgen if it's not a current target Summary: When doing standalone builds, you could potentially be building against an llvm which also built lldb. I

[Lldb-commits] [lldb] r366520 - check for interrupt from fgets on Windows

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Thu Jul 18 17:40:37 2019 New Revision: 366520 URL: http://llvm.org/viewvc/llvm-project?rev=366520&view=rev Log: check for interrupt from fgets on Windows Windows does not have the error EINTR when a blocking syscall is interrupted by a signal. The ReadFile API that fgets is im

[Lldb-commits] [lldb] r366513 - [cmake] Update NATIVE build variables to account for standalone changes

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Thu Jul 18 16:40:23 2019 New Revision: 366513 URL: http://llvm.org/viewvc/llvm-project?rev=366513&view=rev Log: [cmake] Update NATIVE build variables to account for standalone changes Summary: LLDB_PATH_TO_{CLANG,LLVM}_BUILD were removed and replaced with {LLVM,Clang}_DIR. Adj

[Lldb-commits] [lldb] r346171 - Add a relocation to ObjectFileELF::ApplyRelocations and a test

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Mon Nov 5 14:18:00 2018 New Revision: 346171 URL: http://llvm.org/viewvc/llvm-project?rev=346171&view=rev Log: Add a relocation to ObjectFileELF::ApplyRelocations and a test Summary: pcm files can end up being processed by lldb with relocations to be made for the .debug_info

[Lldb-commits] [lldb] r351664 - Fix order of arguments in an lldb type summary in examples

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Sat Jan 19 12:08:41 2019 New Revision: 351664 URL: http://llvm.org/viewvc/llvm-project?rev=351664&view=rev Log: Fix order of arguments in an lldb type summary in examples The format for the -w argument is: -w name ( --category name ) Rearrange the flags correctly. Modif

[Lldb-commits] [lldb] r366281 - add a workaround in GetLine to account for ReadFile not reporintg error

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Tue Jul 16 16:01:59 2019 New Revision: 366281 URL: http://llvm.org/viewvc/llvm-project?rev=366281&view=rev Log: add a workaround in GetLine to account for ReadFile not reporintg error Summary: ReadFile on Windows is supposed to set ERROR_OPERATION_ABORTED according to the docs

[Lldb-commits] [lldb] r346067 - Test commit

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Fri Nov 2 22:12:15 2018 New Revision: 346067 URL: http://llvm.org/viewvc/llvm-project?rev=346067&view=rev Log: Test commit Modified: lldb/trunk/docs/building-with-debug-llvm.txt Modified: lldb/trunk/docs/building-with-debug-llvm.txt URL: http://llvm.org/viewvc/llvm-proj

[Lldb-commits] [lldb] r348526 - Implement WindowsDYLD::DidAttach for use with gdb-server attach

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Thu Dec 6 13:13:03 2018 New Revision: 348526 URL: http://llvm.org/viewvc/llvm-project?rev=348526&view=rev Log: Implement WindowsDYLD::DidAttach for use with gdb-server attach Summary: Windows lldb debugging currently uses a process plugin to handle launching and attaching to

[Lldb-commits] [lldb] r366392 - [cmake] Add NATIVE build for cross compiling standalone builds

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Wed Jul 17 17:21:57 2019 New Revision: 366392 URL: http://llvm.org/viewvc/llvm-project?rev=366392&view=rev Log: [cmake] Add NATIVE build for cross compiling standalone builds TableGen is a host tool and requires a native variant for every build. While building as a part of llv

[Lldb-commits] [lldb] r357131 - Teach TypeSystem about PDBASTParser

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Wed Mar 27 16:00:47 2019 New Revision: 357131 URL: http://llvm.org/viewvc/llvm-project?rev=357131&view=rev Log: Teach TypeSystem about PDBASTParser Currently, only ClangASTContext knows about PDBASTParser. Eventually we want the TypeSystem to have getters/setters for the base

[Lldb-commits] [lldb] r355883 - Add a case in SymbolFile{Native, }PDB::TranslateLanguage for Swift

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Mon Mar 11 16:30:58 2019 New Revision: 355883 URL: http://llvm.org/viewvc/llvm-project?rev=355883&view=rev Log: Add a case in SymbolFile{Native,}PDB::TranslateLanguage for Swift Summary: see above Reviewers: compnerd Differential Revision: https://reviews.llvm.org/D59230 Mo

[Lldb-commits] [lldb] r346993 - Force SHELL to be cmd.exe on Windows for the test suite

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Thu Nov 15 12:56:44 2018 New Revision: 346993 URL: http://llvm.org/viewvc/llvm-project?rev=346993&view=rev Log: Force SHELL to be cmd.exe on Windows for the test suite Summary: Windows make will search for other shells and choose those over cmd if available (e.g. C:\cygdrive\b

[Lldb-commits] [lldb] r357113 - Kill unused variable m_tu_decl_up in SymbolFilePDB

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Wed Mar 27 12:15:13 2019 New Revision: 357113 URL: http://llvm.org/viewvc/llvm-project?rev=357113&view=rev Log: Kill unused variable m_tu_decl_up in SymbolFilePDB Summary: An TranslationUnitDecl was being brought in from the clang::ASTContext which required clang specific code

[Lldb-commits] [lldb] r346179 - Adjust the comment section of CreateSource to account for lines longer than 60

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Mon Nov 5 14:55:30 2018 New Revision: 346179 URL: http://llvm.org/viewvc/llvm-project?rev=346179&view=rev Log: Adjust the comment section of CreateSource to account for lines longer than 60 Summary: On rare occasions, the address, instruction and arguments of a line of assemb

[Lldb-commits] [lldb] r346346 - Adjust some id bit shifts to fit inside 32 bit integers

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Wed Nov 7 11:27:36 2018 New Revision: 346346 URL: http://llvm.org/viewvc/llvm-project?rev=346346&view=rev Log: Adjust some id bit shifts to fit inside 32 bit integers Summary: The DAP on vscode uses a JavaScript `number` for identifiers while the Visual Studio version uses a

[Lldb-commits] [lldb] r349538 - Reenable FindLibXml2 on Windows and confirm its at least 2.8 or newer

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Tue Dec 18 12:51:00 2018 New Revision: 349538 URL: http://llvm.org/viewvc/llvm-project?rev=349538&view=rev Log: Reenable FindLibXml2 on Windows and confirm its at least 2.8 or newer Summary: GnuWin32 installs libxml2 2.4. This isn't recent enough for lldb's usage and thus the

[Lldb-commits] [lldb] r366285 - Don't require python exe and lib versions to match while crosscompiling

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Tue Jul 16 16:54:17 2019 New Revision: 366285 URL: http://llvm.org/viewvc/llvm-project?rev=366285&view=rev Log: Don't require python exe and lib versions to match while crosscompiling Summary: While cross compiling, the python executable is used to run a handful of scripts whi

[Lldb-commits] [lldb] r346988 - Add a check whether or not a str is utf8 prior to emplacing

2019-10-04 Thread Nathan Lanza via lldb-commits
Author: lanza Date: Thu Nov 15 11:49:57 2018 New Revision: 346988 URL: http://llvm.org/viewvc/llvm-project?rev=346988&view=rev Log: Add a check whether or not a str is utf8 prior to emplacing Summary: Highlighing junk data on VSCode can send a query for evaluate which fails. In particular cases o