[Lldb-commits] [lldb] [llvm] [lldb-dap] Add support for data breakpoint. (PR #81541)

2024-02-13 Thread Zequan Wu via lldb-commits
ZequanWu wrote: I updated to add support for setting data breakpoint with expression. If `variablesReference` is 0 or not provided, interpret `name` as `${number of bytes}@${expression}` to set data breakpoint at the given expression because the spec https://microsoft.github.io/debug-adapter-

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add support for data breakpoint. (PR #81541)

2024-02-13 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu edited https://github.com/llvm/llvm-project/pull/81541 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add support for data breakpoint. (PR #81541)

2024-02-13 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu closed https://github.com/llvm/llvm-project/pull/81541 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Followup fixs for data breakpoints (PR #81680)

2024-02-13 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu created https://github.com/llvm/llvm-project/pull/81680 Followup fixes to resolve comments in https://github.com/llvm/llvm-project/pull/81541 >From f9c509c519c9937d2e2de5098c4241e936187527 Mon Sep 17 00:00:00 2001 From: Zequan Wu Date: Tue, 13 Feb 2024 17:41:26 -05

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add support for data breakpoint. (PR #81541)

2024-02-13 Thread Zequan Wu via lldb-commits
@@ -2697,58 +2737,41 @@ void request_dataBreakpointInfo(const llvm::json::Object &request) { GetUnsigned(arguments, "variablesReference", 0); llvm::StringRef name = GetString(arguments, "name"); lldb::SBFrame frame = g_dap.GetLLDBFrame(*arguments); - bool is_duplica

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add support for data breakpoint. (PR #81541)

2024-02-13 Thread Zequan Wu via lldb-commits
@@ -561,6 +561,46 @@ void EventThreadFunction() { } } +lldb::SBValue FindVariable(uint64_t variablesReference, llvm::StringRef name) { + lldb::SBValue variable; + if (lldb::SBValueList *top_scope = GetTopLevelScope(variablesReference)) { +bool is_duplicated_variable_na

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add support for data breakpoint. (PR #81541)

2024-02-13 Thread Zequan Wu via lldb-commits
@@ -2697,58 +2737,41 @@ void request_dataBreakpointInfo(const llvm::json::Object &request) { GetUnsigned(arguments, "variablesReference", 0); llvm::StringRef name = GetString(arguments, "name"); lldb::SBFrame frame = g_dap.GetLLDBFrame(*arguments); - bool is_duplica

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add support for data breakpoint. (PR #81541)

2024-02-13 Thread Zequan Wu via lldb-commits
@@ -2697,58 +2737,41 @@ void request_dataBreakpointInfo(const llvm::json::Object &request) { GetUnsigned(arguments, "variablesReference", 0); llvm::StringRef name = GetString(arguments, "name"); lldb::SBFrame frame = g_dap.GetLLDBFrame(*arguments); - bool is_duplica

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add support for data breakpoint. (PR #81541)

2024-02-13 Thread Zequan Wu via lldb-commits
@@ -2697,58 +2737,41 @@ void request_dataBreakpointInfo(const llvm::json::Object &request) { GetUnsigned(arguments, "variablesReference", 0); llvm::StringRef name = GetString(arguments, "name"); lldb::SBFrame frame = g_dap.GetLLDBFrame(*arguments); - bool is_duplica

[Lldb-commits] [lldb] [lldb-dap] Followup fixs for data breakpoints (PR #81680)

2024-02-14 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu updated https://github.com/llvm/llvm-project/pull/81680 >From f9c509c519c9937d2e2de5098c4241e936187527 Mon Sep 17 00:00:00 2001 From: Zequan Wu Date: Tue, 13 Feb 2024 17:41:26 -0500 Subject: [PATCH 1/2] [lldb-dap] Followup fixs for data breakpoints --- lldb/tools/l

[Lldb-commits] [lldb] [lldb-dap] Followup fixs for data breakpoints (PR #81680)

2024-02-14 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu commented: In terms of interpreting `name` as `${number of bytes}@${expression}`, it's made-up. And I just noticed that someone already filed an issue about this: https://github.com/microsoft/debug-adapter-protocol/issues/455. Should we revert the change inside the

[Lldb-commits] [lldb] [lldb-dap] Followup fixs for data breakpoints (PR #81680)

2024-02-14 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu edited https://github.com/llvm/llvm-project/pull/81680 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Followup fixs for data breakpoints (PR #81680)

2024-02-14 Thread Zequan Wu via lldb-commits
@@ -2757,13 +2769,18 @@ void request_dataBreakpointInfo(const llvm::json::Object &request) { body.try_emplace("description", error_cstr && error_cstr[0] ? std::string(error_cstr) : "evalu

[Lldb-commits] [lldb] [llvm] Revert "[lldb-dap] Add support for data breakpoint. (#81541)" (PR #81812)

2024-02-14 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu approved this pull request. Thanks for reporting. https://github.com/llvm/llvm-project/pull/81812 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add support for data breakpoint. (PR #81541)

2024-02-14 Thread Zequan Wu via lldb-commits
ZequanWu wrote: >From logs, looks like setting breakpoint with size being 1 byte failed on arm, >and works with size being 4 bytes. https://github.com/llvm/llvm-project/pull/81541 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists

[Lldb-commits] [lldb] Re-land [lldb-dap] Add support for data breakpoint. (PR #81909)

2024-02-15 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu created https://github.com/llvm/llvm-project/pull/81909 This implements functionality to handle DataBreakpointInfo request and SetDataBreakpoints request. Previous commit https://github.com/llvm/llvm-project/commit/8c56e78ec531f0e2460213c20fff869b6b7add99 was reve

[Lldb-commits] [lldb] Re-land [lldb-dap] Add support for data breakpoint. (PR #81909)

2024-02-15 Thread Zequan Wu via lldb-commits
ZequanWu wrote: DAP adds a new request `DataAddressBreakpointInfo` at https://github.com/microsoft/debug-adapter-protocol/pull/461 with the following format to allow setting watchpoints at given address and size: ``` interface DataAddressBreakpointInfoRequest extends Request { command: 'Data

[Lldb-commits] [lldb] Re-land [lldb-dap] Add support for data breakpoint. (PR #81909)

2024-02-15 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu updated https://github.com/llvm/llvm-project/pull/81909 >From d95a420ef100d0e73f8ff829926fc3f3d0708386 Mon Sep 17 00:00:00 2001 From: Zequan Wu Date: Thu, 15 Feb 2024 14:29:18 -0500 Subject: [PATCH] [lldb-dap] Add support for data breakpoint. This implements functio

[Lldb-commits] [lldb] Re-land [lldb-dap] Add support for data breakpoint. (PR #81909)

2024-02-15 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu updated https://github.com/llvm/llvm-project/pull/81909 >From d95a420ef100d0e73f8ff829926fc3f3d0708386 Mon Sep 17 00:00:00 2001 From: Zequan Wu Date: Thu, 15 Feb 2024 14:29:18 -0500 Subject: [PATCH 1/2] [lldb-dap] Add support for data breakpoint. This implements fun

[Lldb-commits] [lldb] 583223c - [LLDB][NativePDB] Don't complete static members' types when completing a record type.

2022-03-15 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-03-15T14:06:54-07:00 New Revision: 583223cd5ec42f369702a146eaac1bf20bdfbd46 URL: https://github.com/llvm/llvm-project/commit/583223cd5ec42f369702a146eaac1bf20bdfbd46 DIFF: https://github.com/llvm/llvm-project/commit/583223cd5ec42f369702a146eaac1bf20bdfbd46.diff LOG

[Lldb-commits] [lldb] 384e890 - [LLDB][NativePDB] Remove REQUIRES: system-windows for local-variables-regsiters.s

2022-03-15 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-03-15T17:49:46-07:00 New Revision: 384e890dd3a3feeaa482dd973f5cadcf465fe7ec URL: https://github.com/llvm/llvm-project/commit/384e890dd3a3feeaa482dd973f5cadcf465fe7ec DIFF: https://github.com/llvm/llvm-project/commit/384e890dd3a3feeaa482dd973f5cadcf465fe7ec.diff LOG

[Lldb-commits] [lldb] 4b2af36 - [LLDB][NativePDB] Minor fix on inline line table.

2022-03-31 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-03-31T14:57:26-07:00 New Revision: 4b2af365b6fadde9e578ca08e6de332388b2f9c2 URL: https://github.com/llvm/llvm-project/commit/4b2af365b6fadde9e578ca08e6de332388b2f9c2 DIFF: https://github.com/llvm/llvm-project/commit/4b2af365b6fadde9e578ca08e6de332388b2f9c2.diff LOG

[Lldb-commits] [lldb] 71ec09b - Revert "[LLDB][NativePDB] Minor fix on inline line table."

2022-03-31 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-03-31T16:07:49-07:00 New Revision: 71ec09b33ef4f378aaad2431c4b2d1140c7f285a URL: https://github.com/llvm/llvm-project/commit/71ec09b33ef4f378aaad2431c4b2d1140c7f285a DIFF: https://github.com/llvm/llvm-project/commit/71ec09b33ef4f378aaad2431c4b2d1140c7f285a.diff LOG

[Lldb-commits] [lldb] c45975c - [LLDB][NativePDB] Create inline function decls

2022-04-01 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-04-01T10:06:31-07:00 New Revision: c45975cbf96aad53f24c71f7e1a1549a275d245d URL: https://github.com/llvm/llvm-project/commit/c45975cbf96aad53f24c71f7e1a1549a275d245d DIFF: https://github.com/llvm/llvm-project/commit/c45975cbf96aad53f24c71f7e1a1549a275d245d.diff LOG

[Lldb-commits] [lldb] c50eec4 - [LLDB] Add require x86 for NativePdb Test.

2022-04-01 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-04-01T10:39:06-07:00 New Revision: c50eec400c0edc73eec3c9e97b5c030492cb787f URL: https://github.com/llvm/llvm-project/commit/c50eec400c0edc73eec3c9e97b5c030492cb787f DIFF: https://github.com/llvm/llvm-project/commit/c50eec400c0edc73eec3c9e97b5c030492cb787f.diff LOG

[Lldb-commits] [lldb] ef7cba7 - [LLDB][NativePDB] Fix inline line info in line table

2022-04-14 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-04-14T11:00:56-07:00 New Revision: ef7cba71486df8d6905000f932805774f1cbcc46 URL: https://github.com/llvm/llvm-project/commit/ef7cba71486df8d6905000f932805774f1cbcc46 DIFF: https://github.com/llvm/llvm-project/commit/ef7cba71486df8d6905000f932805774f1cbcc46.diff LOG

[Lldb-commits] [lldb] 3dbf524 - [LLDB][NativePDB] Fix a crash when S_DEFRANGE_SUBFIELD_REGISTER descirbes a simple type

2022-04-14 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-04-14T11:06:21-07:00 New Revision: 3dbf524ad75bf4aa6d4a1f72b82000943a1d967c URL: https://github.com/llvm/llvm-project/commit/3dbf524ad75bf4aa6d4a1f72b82000943a1d967c DIFF: https://github.com/llvm/llvm-project/commit/3dbf524ad75bf4aa6d4a1f72b82000943a1d967c.diff LOG

[Lldb-commits] [lldb] 2f78f94 - [LLDB][NativePDB] Fix subfield_register_simple_type.s test

2022-04-15 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-04-15T10:36:25-07:00 New Revision: 2f78f9455f85e61fcfeb1dc3a13d62c912aa0c96 URL: https://github.com/llvm/llvm-project/commit/2f78f9455f85e61fcfeb1dc3a13d62c912aa0c96 DIFF: https://github.com/llvm/llvm-project/commit/2f78f9455f85e61fcfeb1dc3a13d62c912aa0c96.diff LOG

[Lldb-commits] [lldb] c50817d - [LLDB][NativePDB] Don't create inlined function parameters when it's malformed.

2022-04-15 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-04-15T11:59:11-07:00 New Revision: c50817d1bea4ac51ed776154014630a439176de6 URL: https://github.com/llvm/llvm-project/commit/c50817d1bea4ac51ed776154014630a439176de6 DIFF: https://github.com/llvm/llvm-project/commit/c50817d1bea4ac51ed776154014630a439176de6.diff LOG

[Lldb-commits] [lldb] dc100eb - [LLDB][NativePDB] Followup c50817d1bea4ac51ed776154014630a439176de6

2022-04-15 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-04-15T12:08:44-07:00 New Revision: dc100ebfdabf9db484bf8069870299a593522aaf URL: https://github.com/llvm/llvm-project/commit/dc100ebfdabf9db484bf8069870299a593522aaf DIFF: https://github.com/llvm/llvm-project/commit/dc100ebfdabf9db484bf8069870299a593522aaf.diff LOG

[Lldb-commits] [lldb] 2fa2734 - [LLDB][NativePDB] Fix the case when S_DEFRANGE_SUBFIELD_REGISTERs are out of order.

2022-04-20 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-04-20T10:33:00-07:00 New Revision: 2fa2734690ff6debf2d678dc9f94fa14e0cbd227 URL: https://github.com/llvm/llvm-project/commit/2fa2734690ff6debf2d678dc9f94fa14e0cbd227 DIFF: https://github.com/llvm/llvm-project/commit/2fa2734690ff6debf2d678dc9f94fa14e0cbd227.diff LOG

[Lldb-commits] [lldb] 827ff1e - [LLDB][NativePDB] Fix incorrect file index of inlinees introduced by f00cd23caed5f920495bcae2055f4c478d8383d6

2022-04-25 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-04-25T16:07:04-07:00 New Revision: 827ff1e576f71fd3b81c4b012bf852eb6f46f808 URL: https://github.com/llvm/llvm-project/commit/827ff1e576f71fd3b81c4b012bf852eb6f46f808 DIFF: https://github.com/llvm/llvm-project/commit/827ff1e576f71fd3b81c4b012bf852eb6f46f808.diff LOG

[Lldb-commits] [lldb] afd6390 - [LLDB][NativePDB] Minor fix ParseInlinesite.

2022-04-27 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-04-27T10:56:03-07:00 New Revision: afd639071bb32baae4ca390b3f0f5ab700d83222 URL: https://github.com/llvm/llvm-project/commit/afd639071bb32baae4ca390b3f0f5ab700d83222 DIFF: https://github.com/llvm/llvm-project/commit/afd639071bb32baae4ca390b3f0f5ab700d83222.diff LOG

[Lldb-commits] [lldb] 5c9f3ec - [LLDB][NativePDB] Check for missing type info to avoid crash.

2022-05-25 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-05-25T13:19:27-07:00 New Revision: 5c9f3ec4ad5d930f38c5682345a589ce57a5d602 URL: https://github.com/llvm/llvm-project/commit/5c9f3ec4ad5d930f38c5682345a589ce57a5d602 DIFF: https://github.com/llvm/llvm-project/commit/5c9f3ec4ad5d930f38c5682345a589ce57a5d602.diff LOG

[Lldb-commits] [lldb] d671002 - [LLDB][NativePDB] Fix several crashes when parsing debug info.

2022-06-08 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-06-08T16:41:23-07:00 New Revision: d6710023e396aa55f92e3906755d68b06489d95f URL: https://github.com/llvm/llvm-project/commit/d6710023e396aa55f92e3906755d68b06489d95f DIFF: https://github.com/llvm/llvm-project/commit/d6710023e396aa55f92e3906755d68b06489d95f.diff LOG

[Lldb-commits] [lldb] 3222f95 - [LLDB][NativePDB] Convert backslash to slash when creating CU and filter out CU with no function in ResolveSymbolContext.

2022-06-13 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-06-13T12:04:25-07:00 New Revision: 3222f95ea8c4de153f908c138cdec178e22acaf4 URL: https://github.com/llvm/llvm-project/commit/3222f95ea8c4de153f908c138cdec178e22acaf4 DIFF: https://github.com/llvm/llvm-project/commit/3222f95ea8c4de153f908c138cdec178e22acaf4.diff LOG

[Lldb-commits] [lldb] ae60869 - Minor fix to 3222f95ea8c4de153f908c138cdec178e22acaf4

2022-06-13 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-06-13T12:06:07-07:00 New Revision: ae60869908db6e8f45b51bc35d983706e8a296ae URL: https://github.com/llvm/llvm-project/commit/ae60869908db6e8f45b51bc35d983706e8a296ae DIFF: https://github.com/llvm/llvm-project/commit/ae60869908db6e8f45b51bc35d983706e8a296ae.diff LOG

[Lldb-commits] [lldb] 98c2a85 - Minor fix to ae60869908db6e8f45b51bc35d983706e8a296ae

2022-06-13 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-06-13T12:08:26-07:00 New Revision: 98c2a853eb5e8b0e855f6da935889309544f6d9b URL: https://github.com/llvm/llvm-project/commit/98c2a853eb5e8b0e855f6da935889309544f6d9b DIFF: https://github.com/llvm/llvm-project/commit/98c2a853eb5e8b0e855f6da935889309544f6d9b.diff LOG

[Lldb-commits] [lldb] 602a951 - Partially revert 3222f95ea8c4de153f908c138cdec178e22acaf4

2022-06-13 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-06-13T13:29:32-07:00 New Revision: 602a951bfe3401f81e2759089b14a549c39dc394 URL: https://github.com/llvm/llvm-project/commit/602a951bfe3401f81e2759089b14a549c39dc394 DIFF: https://github.com/llvm/llvm-project/commit/602a951bfe3401f81e2759089b14a549c39dc394.diff LOG

Re: [Lldb-commits] [lldb] 3e03873 - [lldb][Test] Fix TestFrameFormatNameWithArgs.test on Windows/Linux

2022-12-07 Thread Zequan Wu via lldb-commits
That's a known issue for the NativePDB plugin: https://github.com/llvm/llvm-project/issues/51933. Because currently the plugin internally looks up function names by full names. Even if you try to set a breakpoint with a full function name, the plugin itself only receives the basename. On Wed, Nov

[Lldb-commits] [lldb] 960126e - [LLDB][NativePDB] Check string table in PDB files.

2023-03-06 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2023-03-06T10:25:38-05:00 New Revision: 960126e04a6faad1b71e110a4262c5733e50fab7 URL: https://github.com/llvm/llvm-project/commit/960126e04a6faad1b71e110a4262c5733e50fab7 DIFF: https://github.com/llvm/llvm-project/commit/960126e04a6faad1b71e110a4262c5733e50fab7.diff LOG

[Lldb-commits] [lldb] cb9a7c2 - [LLDB][PDB] Fix age field in UUID in PDB file.

2023-06-06 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2023-06-06T11:24:50-04:00 New Revision: cb9a7c22ee6789569e28dde073e6827761b4d003 URL: https://github.com/llvm/llvm-project/commit/cb9a7c22ee6789569e28dde073e6827761b4d003 DIFF: https://github.com/llvm/llvm-project/commit/cb9a7c22ee6789569e28dde073e6827761b4d003.diff LOG

[Lldb-commits] [lldb] fbf665a - [LLDB][Breakpad] Create a function for each compilation unit.

2021-11-10 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2021-11-10T10:51:16-08:00 New Revision: fbf665a0086c8d88d62d60320bef4466c590132e URL: https://github.com/llvm/llvm-project/commit/fbf665a0086c8d88d62d60320bef4466c590132e DIFF: https://github.com/llvm/llvm-project/commit/fbf665a0086c8d88d62d60320bef4466c590132e.diff LOG

[Lldb-commits] [lldb] cc9ced0 - [LLDB][Breakpad] Make lldb understand INLINE and INLINE_ORIGIN records in breakpad.

2021-11-10 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2021-11-10T11:20:32-08:00 New Revision: cc9ced0ed4202a4f8a550551bbb14584f93f3055 URL: https://github.com/llvm/llvm-project/commit/cc9ced0ed4202a4f8a550551bbb14584f93f3055 DIFF: https://github.com/llvm/llvm-project/commit/cc9ced0ed4202a4f8a550551bbb14584f93f3055.diff LOG

[Lldb-commits] [lldb] f17404a - [LLDB][NativePDB] Fix image lookup by address

2021-11-15 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2021-11-15T12:30:23-08:00 New Revision: f17404a733c18f0aa8ff98255dbae0f59298 URL: https://github.com/llvm/llvm-project/commit/f17404a733c18f0aa8ff98255dbae0f59298 DIFF: https://github.com/llvm/llvm-project/commit/f17404a733c18f0aa8ff98255dbae0f59298.diff LOG

[Lldb-commits] [lldb] b6d3535 - [LLDB][NativePDB] Fix local-variables.cpp failure on windows bots

2021-11-15 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2021-11-15T16:14:55-08:00 New Revision: b6d35352304601925bc1c055106949d2e27b3975 URL: https://github.com/llvm/llvm-project/commit/b6d35352304601925bc1c055106949d2e27b3975 DIFF: https://github.com/llvm/llvm-project/commit/b6d35352304601925bc1c055106949d2e27b3975.diff LOG

[Lldb-commits] [lldb] 22ced33 - [LLDB][NativePDB] Allow find functions by full names

2021-11-23 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2021-11-23T17:57:05-08:00 New Revision: 22ced33a2f769815834efdd0eb0b25172c6f8a61 URL: https://github.com/llvm/llvm-project/commit/22ced33a2f769815834efdd0eb0b25172c6f8a61 DIFF: https://github.com/llvm/llvm-project/commit/22ced33a2f769815834efdd0eb0b25172c6f8a61.diff LOG

[Lldb-commits] [lldb] 34d02fa - [LLDB][NativePDB] fix find-functions.cpp failure on windows bots

2021-11-29 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2021-11-29T10:05:09-08:00 New Revision: 34d02fada28753221eda576e2f651f9b23c3f1af URL: https://github.com/llvm/llvm-project/commit/34d02fada28753221eda576e2f651f9b23c3f1af DIFF: https://github.com/llvm/llvm-project/commit/34d02fada28753221eda576e2f651f9b23c3f1af.diff LOG

[Lldb-commits] [lldb] fe270ab - [LLDB][NativePDB] fix find-functions.cpp failure on windows bots (2)

2021-11-29 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2021-11-29T11:06:06-08:00 New Revision: fe270ab061fa1200d1f7e121ac6671f7d24b73d6 URL: https://github.com/llvm/llvm-project/commit/fe270ab061fa1200d1f7e121ac6671f7d24b73d6 DIFF: https://github.com/llvm/llvm-project/commit/fe270ab061fa1200d1f7e121ac6671f7d24b73d6.diff LOG

[Lldb-commits] [clang] [llvm] [mlir] [flang] [compiler-rt] [clang-tools-extra] [lldb] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-02 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu updated https://github.com/llvm/llvm-project/pull/69493 >From 3a394ce5d4d7d91251337bd0a2c1c1a074eb37e6 Mon Sep 17 00:00:00 2001 From: Zequan Wu Date: Tue, 17 Oct 2023 19:24:12 -0400 Subject: [PATCH 1/5] [Profile] Add binary profile correlation. --- clang/lib/CodeGe

[Lldb-commits] [llvm] [lldb] [mlir] [flang] [clang-tools-extra] [clang] [compiler-rt] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-02 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu updated https://github.com/llvm/llvm-project/pull/69493 >From 3a394ce5d4d7d91251337bd0a2c1c1a074eb37e6 Mon Sep 17 00:00:00 2001 From: Zequan Wu Date: Tue, 17 Oct 2023 19:24:12 -0400 Subject: [PATCH 1/6] [Profile] Add binary profile correlation. --- clang/lib/CodeGe

[Lldb-commits] [clang] [lldb] [mlir] [compiler-rt] [llvm] [clang-tools-extra] [flang] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-06 Thread Zequan Wu via lldb-commits
ZequanWu wrote: Ping. https://github.com/llvm/llvm-project/pull/69493 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [compiler-rt] [clang-tools-extra] [llvm] [flang] [mlir] [clang] [lldb] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-10 Thread Zequan Wu via lldb-commits
ZequanWu wrote: There are some discussions about this outside the PR: https://github.com/llvm/llvm-project/pull/70856#issuecomment-1791465183 https://discourse.llvm.org/t/rfc-add-binary-profile-correlation-to-not-load-profile-metadata-sections-into-memory-at-runtime/74565/8 Some further discussi

[Lldb-commits] [flang] [clang-tools-extra] [compiler-rt] [lldb] [llvm] [mlir] [clang] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu edited https://github.com/llvm/llvm-project/pull/69493 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [compiler-rt] [clang] [llvm] [clang-tools-extra] [lldb] [mlir] [flang] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
@@ -0,0 +1,11 @@ +; RUN: opt < %s -passes=instrprof -profile-correlate=binary -S | FileCheck %s ZequanWu wrote: Moved the test to `coverage.ll` https://github.com/llvm/llvm-project/pull/69493 ___ lldb-commits mailing l

[Lldb-commits] [clang-tools-extra] [compiler-rt] [lldb] [llvm] [clang] [flang] [mlir] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
@@ -0,0 +1,9 @@ +// RUN: %clang_cc1 -fprofile-instrument=clang -fcoverage-mapping -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -mllvm -profile-correlate=binary -fprofile-instrument=clang -fcoverage-mapping -emit-llvm -o - %s | FileCheck %s --check-prefix=BIN-CORRELATE

[Lldb-commits] [llvm] [clang] [flang] [clang-tools-extra] [lldb] [compiler-rt] [mlir] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
@@ -0,0 +1,46 @@ +// REQUIRES: linux || windows ZequanWu wrote: I think lld is not require, removed `-fuse-ld=lld`. https://github.com/llvm/llvm-project/pull/69493 ___ lldb-commits mailing list lldb-commits@lists.llvm.

[Lldb-commits] [flang] [lldb] [compiler-rt] [llvm] [clang-tools-extra] [clang] [mlir] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
@@ -1829,6 +1833,22 @@ void CoverageMappingModuleGen::emit() { llvm::GlobalValue::InternalLinkage, NamesArrVal, llvm::getCoverageUnusedNamesVarName()); } + const StringRef VarName(INSTR_PROF_QUOTE(INSTR_PROF_RAW_VERSI

[Lldb-commits] [lldb] [mlir] [llvm] [clang] [compiler-rt] [flang] [clang-tools-extra] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
@@ -46,14 +73,38 @@ const char *InstrProfCorrelator::NumCountersAttributeName = "Num Counters"; llvm::Expected> InstrProfCorrelator::Context::get(std::unique_ptr Buffer, - const object::ObjectFile &Obj) { + con

[Lldb-commits] [clang] [flang] [llvm] [clang-tools-extra] [lldb] [compiler-rt] [mlir] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu commented: > "binary" is ambiguous. I wonder whether object file correlation is better. > llvm-symbolizer has an option --obj=xxx. llvm-symbolizer's `--obj` could take an pre-linking object file. But here we need to take post-linked binary for merging. https://gith

[Lldb-commits] [flang] [compiler-rt] [lldb] [llvm] [mlir] [clang] [clang-tools-extra] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
@@ -1331,6 +1336,18 @@ static int merge_main(int argc, const char *argv[]) { "(default: 1)")); cl::ParseCommandLineOptions(argc, argv, "LLVM profile data merger\n"); + if (!DebugInfoFilename.empty() && !BinaryFilename.empty()) { +exitWithError("Expect

[Lldb-commits] [compiler-rt] [flang] [mlir] [llvm] [clang] [clang-tools-extra] [lldb] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
@@ -1331,6 +1336,18 @@ static int merge_main(int argc, const char *argv[]) { "(default: 1)")); cl::ParseCommandLineOptions(argc, argv, "LLVM profile data merger\n"); + if (!DebugInfoFilename.empty() && !BinaryFilename.empty()) { +exitWithError("Expect

[Lldb-commits] [lldb] [clang-tools-extra] [clang] [mlir] [flang] [llvm] [compiler-rt] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
@@ -1341,20 +1344,26 @@ void InstrProfiling::createDataVariable(InstrProfCntrInstBase *Inc, } auto *Data = new GlobalVariable(*M, DataTy, false, Linkage, nullptr, DataVarName); - // Reference the counter variable with a label difference (link-time - // constant). -

[Lldb-commits] [compiler-rt] [flang] [llvm] [lldb] [clang-tools-extra] [clang] [mlir] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
@@ -195,8 +195,14 @@ OPTIONS .. option:: --debug-info= Specify the executable or ``.dSYM`` that contains debug info for the raw profile. - When ``-debug-info-correlate`` was used for instrumentation, use this option - to correlate the raw profile. + When ``-profile-correlate

[Lldb-commits] [clang-tools-extra] [mlir] [clang] [lldb] [compiler-rt] [llvm] [flang] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
@@ -0,0 +1,46 @@ +// REQUIRES: linux || windows +// Default +// RUN: %clang -o %t.normal -fprofile-instr-generate -fcoverage-mapping -fuse-ld=lld %S/Inputs/instrprof-debug-info-correlate-main.cpp %S/Inputs/instrprof-debug-info-correlate-foo.cpp +// RUN: env LLVM_PROFILE_FILE=%t.

[Lldb-commits] [clang-tools-extra] [mlir] [clang] [lldb] [compiler-rt] [llvm] [flang] [Profile] Add binary profile correlation for code coverage. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu edited https://github.com/llvm/llvm-project/pull/69493 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [flang] [compiler-rt] [mlir] [llvm] [clang] [clang-tools-extra] [lldb] [Profile] Add binary profile correlation for code coverage. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu edited https://github.com/llvm/llvm-project/pull/69493 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [llvm] [compiler-rt] [clang-tools-extra] [lldb] [clang] [flang] [mlir] [Profile] Add binary profile correlation for code coverage. (PR #69493)

2023-11-15 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu edited https://github.com/llvm/llvm-project/pull/69493 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [llvm] [clang-tools-extra] [lldb] [compiler-rt] [flang] [clang] [mlir] [Profile] Add binary profile correlation for code coverage. (PR #69493)

2023-11-16 Thread Zequan Wu via lldb-commits
ZequanWu wrote: > Some further discussion/pre-work needed before proceeding with this PR. These two discussions are addressed and this is ready to be reviewed. 1. Support for merging with multiple correlation files will be done in a separate change. 2. Removed the `VARIANT_MASK_BIN_CORRELATE`

[Lldb-commits] [lldb] afeb2d0 - [LLDB][NativePDB] Fix a minor bug.

2022-09-01 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-09-01T13:10:57-07:00 New Revision: afeb2d0a21e383b5436b539f311ea00803d24e24 URL: https://github.com/llvm/llvm-project/commit/afeb2d0a21e383b5436b539f311ea00803d24e24 DIFF: https://github.com/llvm/llvm-project/commit/afeb2d0a21e383b5436b539f311ea00803d24e24.diff LOG

[Lldb-commits] [lldb] 9b825dc - [LLDB][NativePDB] Fix PdbAstBuilder::GetParentDeclContext when ICF happens.

2022-09-08 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-09-08T10:42:12-07:00 New Revision: 9b825dcdb267ee21e75e279c79ec2b3c50fd7346 URL: https://github.com/llvm/llvm-project/commit/9b825dcdb267ee21e75e279c79ec2b3c50fd7346 DIFF: https://github.com/llvm/llvm-project/commit/9b825dcdb267ee21e75e279c79ec2b3c50fd7346.diff LOG

[Lldb-commits] [lldb] 32530e0 - [LLDB][NativePDB] Set block address range.

2022-09-08 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-09-08T14:51:47-07:00 New Revision: 32530e0493c130229b8fe5e4e65abd7fe76a2dc4 URL: https://github.com/llvm/llvm-project/commit/32530e0493c130229b8fe5e4e65abd7fe76a2dc4 DIFF: https://github.com/llvm/llvm-project/commit/32530e0493c130229b8fe5e4e65abd7fe76a2dc4.diff LOG

[Lldb-commits] [lldb] 6037936 - [LLDB][NativePDB] Replace blocks.cpp with blocks.s so the test won't be affected by codegen changes.

2022-09-09 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-09-09T15:47:27-07:00 New Revision: 603793698928c1f32772248840a45ddcf4914bd2 URL: https://github.com/llvm/llvm-project/commit/603793698928c1f32772248840a45ddcf4914bd2 DIFF: https://github.com/llvm/llvm-project/commit/603793698928c1f32772248840a45ddcf4914bd2.diff LOG

[Lldb-commits] [lldb] aedad60 - [LLDB][NativePDB] Add local variables with no location info.

2022-09-12 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-09-12T12:01:24-07:00 New Revision: aedad60231fcfd967f041616573caa7ff229e2b2 URL: https://github.com/llvm/llvm-project/commit/aedad60231fcfd967f041616573caa7ff229e2b2 DIFF: https://github.com/llvm/llvm-project/commit/aedad60231fcfd967f041616573caa7ff229e2b2.diff LOG

[Lldb-commits] [lldb] 8704281 - [LLDB][NativePDB] Global ctor and dtor should be global decls.

2022-09-15 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-09-15T22:35:58-07:00 New Revision: 8704281c567705822a1c23b9ec40f5bdc5d58352 URL: https://github.com/llvm/llvm-project/commit/8704281c567705822a1c23b9ec40f5bdc5d58352 DIFF: https://github.com/llvm/llvm-project/commit/8704281c567705822a1c23b9ec40f5bdc5d58352.diff LOG

[Lldb-commits] [lldb] d21b417 - [LLDB][NativePDB] ResolveSymbolContext should return the innermost block

2022-09-16 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-09-16T10:19:09-07:00 New Revision: d21b417025f8051638f467007af957f2ed9f614a URL: https://github.com/llvm/llvm-project/commit/d21b417025f8051638f467007af957f2ed9f614a DIFF: https://github.com/llvm/llvm-project/commit/d21b417025f8051638f467007af957f2ed9f614a.diff LOG

[Lldb-commits] [lldb] d4514b1 - [LLDB][NativePDB] Pass register_kind as reference (an oversight in 71d778f).

2022-09-20 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-09-20T13:41:13-07:00 New Revision: d4514b155337f013022c6e989d3e6b7183a8b80e URL: https://github.com/llvm/llvm-project/commit/d4514b155337f013022c6e989d3e6b7183a8b80e DIFF: https://github.com/llvm/llvm-project/commit/d4514b155337f013022c6e989d3e6b7183a8b80e.diff LOG

[Lldb-commits] [lldb] a3e6004 - [LLDB][NativePDB] Let native pdb use class layout in debug info.

2022-09-27 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-09-27T11:01:32-07:00 New Revision: a3e60044d75823a3cd8e35de76b7bde2599fe740 URL: https://github.com/llvm/llvm-project/commit/a3e60044d75823a3cd8e35de76b7bde2599fe740 DIFF: https://github.com/llvm/llvm-project/commit/a3e60044d75823a3cd8e35de76b7bde2599fe740.diff LOG

[Lldb-commits] [lldb] d434f43 - [LLDB][NativePDB] Add class/union layout bit size.

2022-09-27 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-09-27T11:41:55-07:00 New Revision: d434f437200bdf8d94a47346dd5c64cc3cc5c5fa URL: https://github.com/llvm/llvm-project/commit/d434f437200bdf8d94a47346dd5c64cc3cc5c5fa DIFF: https://github.com/llvm/llvm-project/commit/d434f437200bdf8d94a47346dd5c64cc3cc5c5fa.diff LOG

[Lldb-commits] [lldb] d3492ed - [LLDB][NativePDB] Fix struct layout when it has anonymous unions.

2022-10-13 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-10-13T12:43:45-07:00 New Revision: d3492ed01667a1fdebff4421a83b6c0500f07348 URL: https://github.com/llvm/llvm-project/commit/d3492ed01667a1fdebff4421a83b6c0500f07348 DIFF: https://github.com/llvm/llvm-project/commit/d3492ed01667a1fdebff4421a83b6c0500f07348.diff LOG

[Lldb-commits] [lldb] 9b809cc - [LLDB][NativePDB] Improve ParseDeclsForContext time.

2022-10-21 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-10-21T10:33:16-07:00 New Revision: 9b809cc5b69a45601910bf4c60a2ece2f5462a18 URL: https://github.com/llvm/llvm-project/commit/9b809cc5b69a45601910bf4c60a2ece2f5462a18 DIFF: https://github.com/llvm/llvm-project/commit/9b809cc5b69a45601910bf4c60a2ece2f5462a18.diff LOG

[Lldb-commits] [lldb] 3b0f38b - [LLDB][NativePDB] Fix parameter size for member functions LF_MFUNCTION

2022-10-27 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-10-27T16:36:05-07:00 New Revision: 3b0f38bb5186cdda52ab38b13965678036aba22c URL: https://github.com/llvm/llvm-project/commit/3b0f38bb5186cdda52ab38b13965678036aba22c DIFF: https://github.com/llvm/llvm-project/commit/3b0f38bb5186cdda52ab38b13965678036aba22c.diff LOG

[Lldb-commits] [lldb] a7fa5fe - [Test] Fix CHECK typo.

2022-11-04 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-11-04T10:18:04-07:00 New Revision: a7fa5febaa43d860cbd6a4061f239b283c4d8032 URL: https://github.com/llvm/llvm-project/commit/a7fa5febaa43d860cbd6a4061f239b283c4d8032 DIFF: https://github.com/llvm/llvm-project/commit/a7fa5febaa43d860cbd6a4061f239b283c4d8032.diff LOG

[Lldb-commits] [lldb] 6435fe6 - [LLDB][NativePDB] Forcefully complete a record type if it has empty debug info and is required to have complete type.

2022-11-16 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-11-16T11:17:07-08:00 New Revision: 6435fe699c2978aa8a91dc1cf5daa82fb4b28d95 URL: https://github.com/llvm/llvm-project/commit/6435fe699c2978aa8a91dc1cf5daa82fb4b28d95 DIFF: https://github.com/llvm/llvm-project/commit/6435fe699c2978aa8a91dc1cf5daa82fb4b28d95.diff LOG

[Lldb-commits] [lldb] 531ed6d - [LTO][COFF] Use bitcode file names in lto native object file names.

2022-11-22 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-11-22T10:19:58-08:00 New Revision: 531ed6d5aa65f41c6dfe2e74905d5c6c88fc95a7 URL: https://github.com/llvm/llvm-project/commit/531ed6d5aa65f41c6dfe2e74905d5c6c88fc95a7 DIFF: https://github.com/llvm/llvm-project/commit/531ed6d5aa65f41c6dfe2e74905d5c6c88fc95a7.diff LOG

[Lldb-commits] [lldb] 24993e7 - [LLDB][Minidump] Merge executable module's architecture into target's architecture.

2022-11-22 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-11-22T10:23:11-08:00 New Revision: 24993e749ccd0b8f701f5d8cecaaa49cc205aaa2 URL: https://github.com/llvm/llvm-project/commit/24993e749ccd0b8f701f5d8cecaaa49cc205aaa2 DIFF: https://github.com/llvm/llvm-project/commit/24993e749ccd0b8f701f5d8cecaaa49cc205aaa2.diff LOG

[Lldb-commits] [lldb] eef5405 - Revert "[LTO][COFF] Use bitcode file names in lto native object file names."

2022-11-22 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-11-22T10:55:05-08:00 New Revision: eef5405f74ae208e3e2eb7daacecac923d7338f2 URL: https://github.com/llvm/llvm-project/commit/eef5405f74ae208e3e2eb7daacecac923d7338f2 DIFF: https://github.com/llvm/llvm-project/commit/eef5405f74ae208e3e2eb7daacecac923d7338f2.diff LOG

[Lldb-commits] [lldb] 387620a - Reland "[LTO][COFF] Use bitcode file names in lto native object file names."

2022-11-22 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2022-11-22T11:26:18-08:00 New Revision: 387620aa8cea33174b6c1fb80c1af713fee732ac URL: https://github.com/llvm/llvm-project/commit/387620aa8cea33174b6c1fb80c1af713fee732ac DIFF: https://github.com/llvm/llvm-project/commit/387620aa8cea33174b6c1fb80c1af713fee732ac.diff LOG

[Lldb-commits] [lldb] 242e1e9 - [lldb][PDB] Add ObjectFile PDB plugin

2020-10-26 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2020-10-26T10:28:48-07:00 New Revision: 242e1e9910441ad00118e580e4cbd5743c77ea5e URL: https://github.com/llvm/llvm-project/commit/242e1e9910441ad00118e580e4cbd5743c77ea5e DIFF: https://github.com/llvm/llvm-project/commit/242e1e9910441ad00118e580e4cbd5743c77ea5e.diff LOG

[Lldb-commits] [lldb] 4b83747 - [lldb][NativePDB] fix test load-pdb.cpp

2020-10-26 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2020-10-26T11:38:12-07:00 New Revision: 4b83747ab1577b7899116b0ddb75f05de2471694 URL: https://github.com/llvm/llvm-project/commit/4b83747ab1577b7899116b0ddb75f05de2471694 DIFF: https://github.com/llvm/llvm-project/commit/4b83747ab1577b7899116b0ddb75f05de2471694.diff LOG

[Lldb-commits] [lldb] 779deb9 - [lldb][NativePDB] fix test load-pdb.cpp

2020-10-26 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2020-10-26T17:12:51-07:00 New Revision: 779deb9750a4853485ac7beca86f518b067ad6d6 URL: https://github.com/llvm/llvm-project/commit/779deb9750a4853485ac7beca86f518b067ad6d6 DIFF: https://github.com/llvm/llvm-project/commit/779deb9750a4853485ac7beca86f518b067ad6d6.diff LOG

[Lldb-commits] [lldb] 4348e0e - [lldb][NFC] Refactor getUUID functionality

2020-10-30 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2020-10-30T10:44:37-07:00 New Revision: 4348e0eee4dd49623cbf315c52d11f413ed438be URL: https://github.com/llvm/llvm-project/commit/4348e0eee4dd49623cbf315c52d11f413ed438be DIFF: https://github.com/llvm/llvm-project/commit/4348e0eee4dd49623cbf315c52d11f413ed438be.diff LOG

[Lldb-commits] [lldb] [llvm] [lldb][dwarf] Compute fully qualified names on simplified template names with DWARFTypePrinter (PR #112811)

2024-10-18 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu updated https://github.com/llvm/llvm-project/pull/112811 >From cee4a4f1ba6cbaa59ccd0278441f65eb26c06f96 Mon Sep 17 00:00:00 2001 From: Zequan Wu Date: Wed, 9 Oct 2024 22:35:46 -0700 Subject: [PATCH] [lldb][dwarf] Compute fully qualified names on simplified template

[Lldb-commits] [lldb] [llvm] [lldb][dwarf] Compute fully qualified names on simplified template names with DWARFTypePrinter (PR #112811)

2024-10-18 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu updated https://github.com/llvm/llvm-project/pull/112811 >From db1e81bcbcc65af6963e84992154ffde16b13a10 Mon Sep 17 00:00:00 2001 From: Zequan Wu Date: Wed, 9 Oct 2024 22:35:46 -0700 Subject: [PATCH] [lldb][dwarf] Compute fully qualified names on simplified template

[Lldb-commits] [lldb] [llvm] [lldb][dwarf] Compute fully qualified names on simplified template names with DWARFTypePrinter (PR #112811)

2024-10-17 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu created https://github.com/llvm/llvm-project/pull/112811 This is the second half of https://github.com/llvm/llvm-project/pull/90008. Essentially, it replace the work of resolving template types when we just need the qualified names with walking the DIE tree in `DWAR

[Lldb-commits] [lldb] Add SBDebugger:: AddNotificationCallback API (PR #111206)

2024-10-22 Thread Zequan Wu via lldb-commits
@@ -737,19 +752,35 @@ class Debugger : public std::enable_shared_from_this, lldb::TargetSP m_dummy_target_sp; Diagnostics::CallbackID m_diagnostics_callback_id; - std::mutex m_destroy_callback_mutex; - lldb::callback_token_t m_destroy_callback_next_token = 0; - struct

[Lldb-commits] [lldb] [lldb] Fix crash missing MSInheritanceAttr on CXXRecordDecl with DWARF on Windows (PR #112928)

2024-10-22 Thread Zequan Wu via lldb-commits
Stefan =?utf-8?q?Gr=C3=A4nitz?= , Stefan =?utf-8?q?Gr=C3=A4nitz?= , Stefan =?utf-8?q?Gr=C3=A4nitz?= , Stefan =?utf-8?q?Gr=C3=A4nitz?= Message-ID: In-Reply-To: https://github.com/ZequanWu approved this pull request. https://github.com/llvm/llvm-project/pull/112928 _

[Lldb-commits] [lldb] [lldb] Search main function with lldb::eFunctionNameTypeFull when getting default file and line. (PR #113980)

2024-10-28 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu created https://github.com/llvm/llvm-project/pull/113980 This is to work around the fact that `SymbolFileNativePDB::FindFunctions` only support `lldb::eFunctionNameTypeFull` and `lldb::eFunctionNameTypeMethod` now. Since `main`'s full name is the same as base name (

[Lldb-commits] [lldb] [lldb] Search main function with lldb::eFunctionNameTypeFull when getting default file and line. (PR #113980)

2024-10-29 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu closed https://github.com/llvm/llvm-project/pull/113980 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] a325c53 - [lldb] Fix lldb windows build breakage from https://github.com/llvm/llvm-project/pull/112657.

2024-10-29 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2024-10-29T14:38:02-07:00 New Revision: a325c5359310316e393e7e446373fca645002ecb URL: https://github.com/llvm/llvm-project/commit/a325c5359310316e393e7e446373fca645002ecb DIFF: https://github.com/llvm/llvm-project/commit/a325c5359310316e393e7e446373fca645002ecb.diff LOG

<    1   2   3   4   >