Page MenuHomePhabricator

bwyma (Brock Wyma)
User

Projects

User does not belong to any projects.

User Details

User Since
May 19 2016, 9:07 AM (368 w, 1 d)

Recent Activity

May 10 2022

bwyma added a comment to D124982: [clang][OpenMP][DebugInfo] Debug support for variables in containing scope of OMP constructs.

If the parent function is inlined into multiple callers, is the outlined subprogram scope treated like any other nested lexical scope and duplicated?
If the outlined subprogram scope is duplicated when inlined, how will retained nodes on the outlined subprogram be handled in this case?
Does CodeViewDebug handle the nested subprogram scoping?
Can you add a test which validates the nested scoping is correct in the DWARF emission (covering the non-clang part of this patch)?

May 10 2022, 5:49 AM · Restricted Project, Restricted Project, Restricted Project, debug-info

Apr 22 2022

bwyma added a comment to D124098: Don't replace Undef with null value for Constants.

In a similar fashion to how instructions are handled according to Delete an IR-level instruction, when a constant is destroyed and cannot be RAUW'd, updating the debug information uses of the constant to undef seems like the correct approach. LGTM.

Apr 22 2022, 7:33 AM · Restricted Project, Restricted Project
bwyma added a watcher for debug-info: bwyma.
Apr 22 2022, 7:01 AM

Feb 2 2022

bwyma added inline comments to D118276: Adding a DIBuilder interface for Fortran's assumed length string.
Feb 2 2022, 8:45 AM · Restricted Project, Restricted Project
bwyma added inline comments to D118276: Adding a DIBuilder interface for Fortran's assumed length string.
Feb 2 2022, 6:04 AM · Restricted Project, Restricted Project

Jan 25 2022

bwyma added inline comments to D45438: [CodeView] Enable debugging of captured variables within C++ lambdas.
Jan 25 2022, 8:29 AM

Sep 30 2021

bwyma committed rGbafd8b1add1e: [CodeView] Recognize Fortran95 as Fortran instead of MASM (authored by bwyma).
[CodeView] Recognize Fortran95 as Fortran instead of MASM
Sep 30 2021, 6:33 AM
bwyma closed D110330: [CodeView] Recognize Fortran95 as Fortran instead of MASM.
Sep 30 2021, 6:32 AM · Restricted Project

Sep 23 2021

bwyma requested review of D110330: [CodeView] Recognize Fortran95 as Fortran instead of MASM.
Sep 23 2021, 6:33 AM · Restricted Project

May 4 2021

bwyma committed rG4f8d585fbf14: [CodeView] Truncate Long Type Names With An MD5 Hash (authored by bwyma).
[CodeView] Truncate Long Type Names With An MD5 Hash
May 4 2021, 7:54 AM
bwyma closed D97881: [CodeView] Truncate Long Type Names With A Hash.
May 4 2021, 7:54 AM · Restricted Project

Mar 5 2021

bwyma added inline comments to D97881: [CodeView] Truncate Long Type Names With A Hash.
Mar 5 2021, 5:41 AM · Restricted Project

Mar 4 2021

bwyma updated the diff for D97881: [CodeView] Truncate Long Type Names With A Hash.

Fix the constant name flagged by tidy.

Mar 4 2021, 8:29 AM · Restricted Project
bwyma added a comment to D97881: [CodeView] Truncate Long Type Names With A Hash.

x64 windows > LLVM.Instrumentation/InstrProfiling::profiling.ll
I couldn't find a correlation between my patch and this unit test failure. This maybe related to this commit:
https://github.com/llvm/llvm-project/commit/30ad7b5dadcd90ce8df240f1fa74ee2e98a875dc

Mar 4 2021, 7:55 AM · Restricted Project

Mar 3 2021

bwyma requested review of D97881: [CodeView] Truncate Long Type Names With A Hash.
Mar 3 2021, 12:20 PM · Restricted Project

May 30 2019

vladimirlaz <vladimir.lazarev@intel.com> committed rG3e6458787869: [SYCL] Fix incorrect line information in SYCL device code debug info (authored by bwyma).
[SYCL] Fix incorrect line information in SYCL device code debug info
May 30 2019, 8:01 AM

Mar 25 2019

bwyma committed rGbc92c8c8636b: [DebugInfo] IntelJitEventListener follow up for "add SectionedAddress ..." (authored by bwyma).
[DebugInfo] IntelJitEventListener follow up for "add SectionedAddress ..."
Mar 25 2019, 6:52 AM
bwyma committed rL356895.
Mar 25 2019, 6:49 AM
bwyma closed D59490: [DebugInfo] IntelJitEventListener follow up for "add SectionedAddress to DebugInfo interfaces".
Mar 25 2019, 6:49 AM · Restricted Project

Mar 19 2019

bwyma updated the diff for D59490: [DebugInfo] IntelJitEventListener follow up for "add SectionedAddress to DebugInfo interfaces".

Update the patch to validate the section iterator before using it to lookup the section index.

Mar 19 2019, 8:09 AM · Restricted Project
bwyma added inline comments to D59490: [DebugInfo] IntelJitEventListener follow up for "add SectionedAddress to DebugInfo interfaces".
Mar 19 2019, 7:49 AM · Restricted Project

Mar 18 2019

bwyma updated the diff for D59490: [DebugInfo] IntelJitEventListener follow up for "add SectionedAddress to DebugInfo interfaces".

Remove the "TODO" item which is now done.

Mar 18 2019, 7:48 AM · Restricted Project
bwyma created D59490: [DebugInfo] IntelJitEventListener follow up for "add SectionedAddress to DebugInfo interfaces".
Mar 18 2019, 7:41 AM · Restricted Project

Dec 20 2018

bwyma committed rL349777.
Dec 20 2018, 9:37 AM
bwyma closed D55336: [CodeView] Emit global variables within lexical scopes to limit visibility.
Dec 20 2018, 9:37 AM
bwyma updated the diff for D55336: [CodeView] Emit global variables within lexical scopes to limit visibility.

NFC:
Remove section size checks from the global_visibility test which were used temporarily during development of the patch.
This test is meant to validate the variable scope, not the debug symbols section size.

Dec 20 2018, 7:53 AM

Dec 19 2018

bwyma updated the diff for D55336: [CodeView] Emit global variables within lexical scopes to limit visibility.

This patch incorporates all review feedback received thus far.

Dec 19 2018, 10:15 AM
bwyma added inline comments to D55336: [CodeView] Emit global variables within lexical scopes to limit visibility.
Dec 19 2018, 10:11 AM

Dec 13 2018

bwyma updated the diff for D55336: [CodeView] Emit global variables within lexical scopes to limit visibility.

Updated the patch based on review comments.

Dec 13 2018, 7:06 AM

Dec 5 2018

bwyma created D55336: [CodeView] Emit global variables within lexical scopes to limit visibility.
Dec 5 2018, 12:15 PM

Jun 10 2018

bwyma committed rL334382.
Jun 10 2018, 6:44 PM
bwyma closed D32498: [CodeView] omit forward references for unnamed structs and unions.
Jun 10 2018, 6:44 PM
bwyma updated the diff for D32498: [CodeView] omit forward references for unnamed structs and unions.

Update the tests to use retainedNodes instead of variables following the changes made in rL331841.

Jun 10 2018, 6:31 PM

May 22 2018

bwyma committed rL332975.
May 22 2018, 5:45 AM
bwyma committed rC332975.
May 22 2018, 5:45 AM
bwyma closed D45438: [CodeView] Enable debugging of captured variables within C++ lambdas.
May 22 2018, 5:45 AM

May 15 2018

bwyma closed D46271: [CodeView] Improve debbuging of virtual base class member variables.

Changes committed in rL332296.

May 15 2018, 4:18 AM · debug-info

May 14 2018

bwyma committed rC332296: [CodeView] Improve debugging of virtual base class member variables.
[CodeView] Improve debugging of virtual base class member variables
May 14 2018, 2:25 PM
bwyma committed rL332296: [CodeView] Improve debugging of virtual base class member variables.
[CodeView] Improve debugging of virtual base class member variables
May 14 2018, 2:25 PM
bwyma updated the diff for D46271: [CodeView] Improve debbuging of virtual base class member variables.

In the test inheritance.ll I updated the 'variables' attribute to 'retainedNodes' to reflect the changes recently committed in rL331841.

May 14 2018, 2:17 PM · debug-info
bwyma updated the diff for D45438: [CodeView] Enable debugging of captured variables within C++ lambdas.

I think this code would be a lot less confusing if we rename this to something more mechanical like getTypeIdentifier

I changed the routine names, updated the call sites, and made the comment changes.
Please let me know if you like this better.

May 14 2018, 8:05 AM

May 8 2018

bwyma updated the diff for D45438: [CodeView] Enable debugging of captured variables within C++ lambdas.

The indentation seems off which suggests the patch may contain tabs.

Fixed.

May 8 2018, 5:53 AM

May 4 2018

bwyma updated the diff for D46271: [CodeView] Improve debbuging of virtual base class member variables.

The virtual base pointer offset is now encoded in the extraData field of DIDerivedType.

May 4 2018, 10:20 AM · debug-info

Apr 30 2018

bwyma added inline comments to D46271: [CodeView] Improve debbuging of virtual base class member variables.
Apr 30 2018, 11:58 AM · debug-info
bwyma added inline comments to D46271: [CodeView] Improve debbuging of virtual base class member variables.
Apr 30 2018, 11:28 AM · debug-info
bwyma added a comment to D46271: [CodeView] Improve debbuging of virtual base class member variables.

Document a comment I received via email from David to keep everything in one place:

Bitcode files shouldn't generally need updating - because bitcode should be backwards compatible (& indeed usually the only reason bitcode files are checked in is to test and ensure that backwards compatibility guarantee is met)

Apr 30 2018, 11:17 AM · debug-info
bwyma updated the summary of D46271: [CodeView] Improve debbuging of virtual base class member variables.
Apr 30 2018, 9:49 AM · debug-info
bwyma created D46271: [CodeView] Improve debbuging of virtual base class member variables.
Apr 30 2018, 9:43 AM · debug-info

Apr 24 2018

bwyma updated the diff for D45438: [CodeView] Enable debugging of captured variables within C++ lambdas.

I updated the patch file to generalize the fix for more than just lambdas.

Apr 24 2018, 5:54 AM

Apr 16 2018

bwyma committed rL330132: [CodeView] Initial support for emitting S_THUNK32 symbols for compiler....
[CodeView] Initial support for emitting S_THUNK32 symbols for compiler...
Apr 16 2018, 9:57 AM
bwyma committed rC330132: [CodeView] Initial support for emitting S_THUNK32 symbols for compiler....
[CodeView] Initial support for emitting S_THUNK32 symbols for compiler...
Apr 16 2018, 9:57 AM
bwyma closed D43838: [CodeView] Initial support for emitting S_THUNK32 symbols for compiler-generated thunk routines.
Apr 16 2018, 9:57 AM

Apr 9 2018

bwyma updated the summary of D45438: [CodeView] Enable debugging of captured variables within C++ lambdas.
Apr 9 2018, 6:34 AM
bwyma created D45438: [CodeView] Enable debugging of captured variables within C++ lambdas.
Apr 9 2018, 6:31 AM
bwyma reopened D32498: [CodeView] omit forward references for unnamed structs and unions.

This patch was reverted in rL327414 due a build bot failure.
It depends upon a fix for C++ lambdas which hasn't landed yet. Once that patch lands, this one will be reapplied exactly as seen here.

Apr 9 2018, 5:35 AM

Mar 15 2018

bwyma committed rL327620: [CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes.
[CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes
Mar 15 2018, 4:55 AM
bwyma closed D42926: [CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes.
Mar 15 2018, 4:54 AM

Mar 13 2018

bwyma committed rL327414: Revert r327397 [CodeView] Omit forward references for unnamed structs and ....
Revert r327397 [CodeView] Omit forward references for unnamed structs and ...
Mar 13 2018, 8:58 AM
bwyma committed rL327397: [CodeView] Omit forward references for unnamed structs and unions.
[CodeView] Omit forward references for unnamed structs and unions
Mar 13 2018, 7:16 AM
bwyma closed D32498: [CodeView] omit forward references for unnamed structs and unions.
Mar 13 2018, 7:16 AM

Mar 12 2018

bwyma added inline comments to D43838: [CodeView] Initial support for emitting S_THUNK32 symbols for compiler-generated thunk routines.
Mar 12 2018, 8:43 AM
bwyma updated the diff for D43838: [CodeView] Initial support for emitting S_THUNK32 symbols for compiler-generated thunk routines.

Can you add a clang IRGen test that checks the DISubprogram flags set for thunks?

I extended the existing test debug-info-thunk.cpp to make sure the DIFlagThunk flag is set on the thunk routines.

Mar 12 2018, 8:38 AM

Mar 9 2018

bwyma added a comment to D42926: [CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes.

Did this get committed?

Not yet. It looks like I'll have time to commit it on Monday if that is okay?

Mar 9 2018, 11:59 AM

Feb 27 2018

bwyma created D43838: [CodeView] Initial support for emitting S_THUNK32 symbols for compiler-generated thunk routines.
Feb 27 2018, 3:59 PM

Feb 20 2018

bwyma added inline comments to D42926: [CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes.
Feb 20 2018, 5:29 AM

Feb 15 2018

bwyma added a comment to D42926: [CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes.

Did you confirm that when stepping through a program in the debugger that variables are correctly shown in the Autos window depending on the source line?

Yes. When stopping at a machine instruction, only the locals visible from the corresponding lexical scope are displayed.

Feb 15 2018, 8:14 AM
bwyma updated the diff for D42926: [CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes.

Thanks everyone for the wonderful feedback! I'm uploading a new diff with the requested changes thus far.
I will provide additional answers for some of the feedback I received after uploading this patch.

Feb 15 2018, 7:40 AM

Feb 11 2018

bwyma committed rL324850: [CodeView] Allow variable names to be as long as the codeview format supports.
[CodeView] Allow variable names to be as long as the codeview format supports
Feb 11 2018, 1:31 PM
bwyma closed D42125: [CodeView] Allow variable names to be as long as the codeview format supports.
Feb 11 2018, 1:31 PM

Feb 5 2018

bwyma created D42926: [CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes.
Feb 5 2018, 11:49 AM

Feb 1 2018

bwyma committed rL324000: [CodeView] Class record member counts should include base classes and ....
[CodeView] Class record member counts should include base classes and ...
Feb 1 2018, 12:39 PM
bwyma closed D41874: [CodeView] Class record member counts should include base classes and virtual base classes.
Feb 1 2018, 12:39 PM

Jan 30 2018

bwyma committed rL323754: Test commit..
Test commit.
Jan 30 2018, 5:19 AM

Jan 16 2018

bwyma created D42125: [CodeView] Allow variable names to be as long as the codeview format supports.
Jan 16 2018, 12:41 PM

Jan 9 2018

bwyma created D41874: [CodeView] Class record member counts should include base classes and virtual base classes.
Jan 9 2018, 11:40 AM

Jan 8 2018

bwyma updated the diff for D32498: [CodeView] omit forward references for unnamed structs and unions.

I made the changes you requested. Specifically:

  • I check for an empty identifier in addition to an empty name on the composite type.
  • I updated the code to call report_fatal_error when an unexpected cycle occurs in the type graph.
  • I added a lit test containing a cycle in the type graph to make sure the error is caught.
Jan 8 2018, 8:48 AM

May 18 2017

bwyma added a comment to D32498: [CodeView] omit forward references for unnamed structs and unions.

Thank you Reid. I'll make the changes you requested and upload a new patch. Much appreciated.

May 18 2017, 5:10 AM

May 8 2017

bwyma added a comment to D32498: [CodeView] omit forward references for unnamed structs and unions.

Unnamed C++ structs are given a name as of rL274401, so unnamed structs containing a method will have a name assigned to them and will not create a cycle in this case.

May 8 2017, 5:38 AM

Apr 25 2017

bwyma created D32498: [CodeView] omit forward references for unnamed structs and unions.
Apr 25 2017, 11:04 AM