Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

augusto2112 (Augusto Noronha)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 8 2019, 10:01 AM (216 w, 1 d)

Recent Activity

Mon, Sep 25

augusto2112 committed rG962ef991da28: [lldb] Protect RNBRemote from a data race (authored by augusto2112).
[lldb] Protect RNBRemote from a data race
Mon, Sep 25, 11:18 AM · Restricted Project

Aug 22 2023

augusto2112 committed rGfef609d2d1da: Revert "[lldb] Fix data race in ThreadList" (authored by augusto2112).
Revert "[lldb] Fix data race in ThreadList"
Aug 22 2023, 11:14 AM · Restricted Project
augusto2112 added a reverting change for rGbb9006324970: [lldb] Fix data race in ThreadList: rGfef609d2d1da: Revert "[lldb] Fix data race in ThreadList".
Aug 22 2023, 11:14 AM · Restricted Project
augusto2112 added a reverting change for D158034: [lldb] Fix data race in ThreadList: rGfef609d2d1da: Revert "[lldb] Fix data race in ThreadList".
Aug 22 2023, 11:14 AM · Restricted Project, Restricted Project

Aug 18 2023

augusto2112 committed rG79a8e006dbc4: [lldb] Fix data race in Process (authored by augusto2112).
[lldb] Fix data race in Process
Aug 18 2023, 5:10 PM · Restricted Project
augusto2112 closed D157648: [lldb] Fix data race in Process.
Aug 18 2023, 5:09 PM · Restricted Project, Restricted Project
augusto2112 committed rGbb9006324970: [lldb] Fix data race in ThreadList (authored by augusto2112).
[lldb] Fix data race in ThreadList
Aug 18 2023, 4:55 PM · Restricted Project
augusto2112 closed D158034: [lldb] Fix data race in ThreadList.
Aug 18 2023, 4:55 PM · Restricted Project, Restricted Project

Aug 15 2023

augusto2112 added reviewers for D158034: [lldb] Fix data race in ThreadList: bulbazord, jingham.
Aug 15 2023, 4:28 PM · Restricted Project, Restricted Project
augusto2112 requested review of D158035: [lldb] Protect RNBRemote from a data race.
Aug 15 2023, 4:19 PM · Restricted Project, Restricted Project
augusto2112 requested review of D158034: [lldb] Fix data race in ThreadList.
Aug 15 2023, 4:12 PM · Restricted Project, Restricted Project
augusto2112 added a reverting change for rG5d16957207ce: [lldb] Properly protect the Communication class with reader/writer lock: rG3b919570f2f0: Revert "[lldb] Properly protect the Communication class with reader/writer lock".
Aug 15 2023, 4:04 PM · Restricted Project
augusto2112 committed rG3b919570f2f0: Revert "[lldb] Properly protect the Communication class with reader/writer lock" (authored by augusto2112).
Revert "[lldb] Properly protect the Communication class with reader/writer lock"
Aug 15 2023, 4:04 PM · Restricted Project
augusto2112 added a reverting change for D157760: [lldb] Properly protect the Communication class with reader/writer lock: rG3b919570f2f0: Revert "[lldb] Properly protect the Communication class with reader/writer lock".
Aug 15 2023, 4:04 PM · Restricted Project, Restricted Project
augusto2112 committed rG5d16957207ce: [lldb] Properly protect the Communication class with reader/writer lock (authored by augusto2112).
[lldb] Properly protect the Communication class with reader/writer lock
Aug 15 2023, 3:47 PM · Restricted Project
augusto2112 closed D157760: [lldb] Properly protect the Communication class with reader/writer lock.
Aug 15 2023, 3:47 PM · Restricted Project, Restricted Project
augusto2112 added a comment to D157648: [lldb] Fix data race in Process.

@JDevlieghere do you have any opinions on this?

Aug 15 2023, 2:46 PM · Restricted Project, Restricted Project
augusto2112 committed rG4a390a56aeeb: [lldb] Implement ModuleList::Swap (authored by augusto2112).
[lldb] Implement ModuleList::Swap
Aug 15 2023, 11:36 AM · Restricted Project
augusto2112 committed rG22413641e236: [lldb] Fix data race in PipePosix (authored by augusto2112).
[lldb] Fix data race in PipePosix
Aug 15 2023, 11:31 AM · Restricted Project
augusto2112 closed D157654: [lldb] Fix data race in PipePosix.
Aug 15 2023, 11:31 AM · Restricted Project, Restricted Project

Aug 14 2023

augusto2112 added inline comments to D157760: [lldb] Properly protect the Communication class with reader/writer lock.
Aug 14 2023, 2:30 PM · Restricted Project, Restricted Project

Aug 11 2023

augusto2112 updated the diff for D157654: [lldb] Fix data race in PipePosix.

Changed to regular mutex

Aug 11 2023, 5:05 PM · Restricted Project, Restricted Project
augusto2112 added a comment to D157654: [lldb] Fix data race in PipePosix.

@JDevlieghere I updated this to two shared mutexes because I'm assuming you can have more than one concurrent read and more than one concurrent write. If this is wrong I can go back to two regular mutexes.

Aug 11 2023, 3:43 PM · Restricted Project, Restricted Project
augusto2112 updated the diff for D157654: [lldb] Fix data race in PipePosix.

Update to two shared mutexes

Aug 11 2023, 3:42 PM · Restricted Project, Restricted Project
augusto2112 requested review of D157760: [lldb] Properly protect the Communication class with reader/writer lock.
Aug 11 2023, 2:57 PM · Restricted Project, Restricted Project
augusto2112 updated the diff for D157654: [lldb] Fix data race in PipePosix.

Lock earlier in operator=

Aug 11 2023, 10:36 AM · Restricted Project, Restricted Project
augusto2112 added inline comments to D157654: [lldb] Fix data race in PipePosix.
Aug 11 2023, 10:34 AM · Restricted Project, Restricted Project

Aug 10 2023

augusto2112 added a comment to D157648: [lldb] Fix data race in Process.

Is the reported race specifically about the shared pointer being accessed concurrently or operations on the IOHandler?

Aug 10 2023, 3:47 PM · Restricted Project, Restricted Project
augusto2112 requested review of D157654: [lldb] Fix data race in PipePosix.
Aug 10 2023, 2:27 PM · Restricted Project, Restricted Project
augusto2112 requested review of D157648: [lldb] Fix data race in Process.
Aug 10 2023, 1:20 PM · Restricted Project, Restricted Project

Aug 9 2023

augusto2112 accepted D157347: [lldb] Fix data race in NativeFile.
Aug 9 2023, 8:22 PM · Restricted Project, Restricted Project
augusto2112 added inline comments to D157347: [lldb] Fix data race in NativeFile.
Aug 9 2023, 5:46 PM · Restricted Project, Restricted Project
augusto2112 accepted D157347: [lldb] Fix data race in NativeFile.

I have one nit that I'll leave up to you whether it should be addressed now or not.

Aug 9 2023, 5:39 PM · Restricted Project, Restricted Project

Aug 7 2023

augusto2112 accepted D157347: [lldb] Fix data race in NativeFile.

LGTM

Aug 7 2023, 4:25 PM · Restricted Project, Restricted Project

Aug 4 2023

augusto2112 accepted D157159: [lldb] Properly protect the Communication class with reader/writer lock.

On the description you mention unique_ptr but I only see shared_ptr here. Was that a typo or do you mean that users of this class kept it behind a unique_ptr?

Aug 4 2023, 5:02 PM · Restricted Project
augusto2112 committed rGd75dc9a8a86c: [lldb] Fix ThreadList::Update not locking the rhs's mutex (authored by augusto2112).
[lldb] Fix ThreadList::Update not locking the rhs's mutex
Aug 4 2023, 4:12 PM · Restricted Project
augusto2112 closed D157153: [lldb] Fix ThreadList::Update not locking the rhs's mutex.
Aug 4 2023, 4:12 PM · Restricted Project, Restricted Project
augusto2112 requested review of D157153: [lldb] Fix ThreadList::Update not locking the rhs's mutex.
Aug 4 2023, 4:01 PM · Restricted Project, Restricted Project
augusto2112 committed rG318f600722e3: [lldb] Protect OptionValue accesses from data races (authored by augusto2112).
[lldb] Protect OptionValue accesses from data races
Aug 4 2023, 3:35 PM · Restricted Project
augusto2112 closed D157041: [lldb] Protect OptionValue accesses from data races.
Aug 4 2023, 3:34 PM · Restricted Project, Restricted Project
augusto2112 updated the diff for D157041: [lldb] Protect OptionValue accesses from data races.

Remove lock from DeepCopy

Aug 4 2023, 1:01 PM · Restricted Project, Restricted Project
augusto2112 updated the diff for D157041: [lldb] Protect OptionValue accesses from data races.

Addressed comments

Aug 4 2023, 11:22 AM · Restricted Project, Restricted Project

Aug 3 2023

augusto2112 added inline comments to D157041: [lldb] Protect OptionValue accesses from data races.
Aug 3 2023, 5:16 PM · Restricted Project, Restricted Project
augusto2112 added a comment to D157041: [lldb] Protect OptionValue accesses from data races.

Do all of these need to be protected with a mutex? In your description you're saying TSan is detecting data races. What piece of data are you observing the data race on?

Aug 3 2023, 4:21 PM · Restricted Project, Restricted Project
augusto2112 requested review of D157041: [lldb] Protect OptionValue accesses from data races.
Aug 3 2023, 2:48 PM · Restricted Project, Restricted Project

Aug 2 2023

augusto2112 committed rG5f45a87bf029: [lldb] Print hint if object description is requested but not implemented (authored by augusto2112).
[lldb] Print hint if object description is requested but not implemented
Aug 2 2023, 3:34 PM · Restricted Project
augusto2112 closed D153489: [lldb] Print hint if object description is requested but not implemented.
Aug 2 2023, 3:33 PM · Restricted Project, Restricted Project

Aug 1 2023

augusto2112 added a reviewer for D153489: [lldb] Print hint if object description is requested but not implemented: aprantl.
Aug 1 2023, 5:24 PM · Restricted Project, Restricted Project
augusto2112 updated the diff for D153489: [lldb] Print hint if object description is requested but not implemented.

Addressed comments

Aug 1 2023, 5:24 PM · Restricted Project, Restricted Project

Jul 27 2023

augusto2112 added inline comments to D153489: [lldb] Print hint if object description is requested but not implemented.
Jul 27 2023, 9:51 AM · Restricted Project, Restricted Project

Jul 11 2023

augusto2112 accepted D152837: [lldb] Identify Swift-implemented ObjC classes.
Jul 11 2023, 3:59 PM · Restricted Project, Restricted Project

Jul 6 2023

augusto2112 added inline comments to D153489: [lldb] Print hint if object description is requested but not implemented.
Jul 6 2023, 4:24 PM · Restricted Project, Restricted Project

Jul 5 2023

augusto2112 added a comment to D153489: [lldb] Print hint if object description is requested but not implemented.

Ping

Jul 5 2023, 2:17 PM · Restricted Project, Restricted Project

Jun 29 2023

augusto2112 added a comment to D154128: [lldb] Add log indicating which kind of data formatter.

Personally I vote for the formatter kind on every line, so we don't need to jump around the logs when reading them, up to you though.

Jun 29 2023, 1:39 PM · Restricted Project, Restricted Project
augusto2112 accepted D154128: [lldb] Add log indicating which kind of data formatter.

I've bumped into this problem before, so really like this change. It's a bit sad that you'll only print the kind of data formatter once though, so someone reading the logs might have to jump back and forth to understand what kind of formatter they're dealing with. There's also __PRETTY_FUNCTION__, which shows the generic type parameters by default, but I think it's not a standard macro (although it's implemented by both clang and gcc). What do you think of having a macro like:

Jun 29 2023, 11:38 AM · Restricted Project, Restricted Project

Jun 28 2023

augusto2112 updated the diff for D153489: [lldb] Print hint if object description is requested but not implemented.

Addressed comments

Jun 28 2023, 4:35 PM · Restricted Project, Restricted Project

Jun 26 2023

augusto2112 accepted D153802: [lldb] Delete RewriteObjCClassReferences (NFC).
Jun 26 2023, 4:02 PM · Restricted Project, Restricted Project
augusto2112 added a comment to D153489: [lldb] Print hint if object description is requested but not implemented.

ping :)

Jun 26 2023, 11:01 AM · Restricted Project, Restricted Project

Jun 21 2023

augusto2112 added a comment to D153489: [lldb] Print hint if object description is requested but not implemented.

@kastiglione I wonder if we should hint in all 3 command objects (expr, frame var and DWIM) or if we should limit this to DWIM instead (since DWIM is the one aliased to p and po and I don't think vo or expr -O are often used unintentionally).

Jun 21 2023, 6:16 PM · Restricted Project, Restricted Project
augusto2112 requested review of D153489: [lldb] Print hint if object description is requested but not implemented.
Jun 21 2023, 6:14 PM · Restricted Project, Restricted Project

Jun 15 2023

augusto2112 accepted D153054: [lldb][NFCI] TypeSystemClang::GetTypeForIdentifier should take a StringRef.
Jun 15 2023, 3:44 PM · Restricted Project, Restricted Project

Jun 13 2023

augusto2112 committed rGf94c7ffe4640: [lldb] Never print children if the max depth has been reached (authored by augusto2112).
[lldb] Never print children if the max depth has been reached
Jun 13 2023, 11:08 AM · Restricted Project
augusto2112 closed D152409: [lldb] Never print children if the max depth has been reached.
Jun 13 2023, 11:07 AM · Restricted Project, Restricted Project

Jun 8 2023

augusto2112 committed rGb1ebfc5de34e: [lldb] Unconditionally increment depth when printing children (authored by augusto2112).
[lldb] Unconditionally increment depth when printing children
Jun 8 2023, 1:35 PM · Restricted Project
augusto2112 closed D151950: [lldb] Unconditionally increment depth when printing children.
Jun 8 2023, 1:35 PM · Restricted Project, Restricted Project
augusto2112 updated the diff for D151950: [lldb] Unconditionally increment depth when printing children.

Addressed comments

Jun 8 2023, 1:30 PM · Restricted Project, Restricted Project
augusto2112 updated the diff for D152409: [lldb] Never print children if the max depth has been reached.

Remove failure check

Jun 8 2023, 10:32 AM · Restricted Project, Restricted Project

Jun 7 2023

augusto2112 requested review of D152409: [lldb] Never print children if the max depth has been reached.
Jun 7 2023, 4:20 PM · Restricted Project, Restricted Project
augusto2112 updated the diff for D151950: [lldb] Unconditionally increment depth when printing children.

Add test

Jun 7 2023, 4:13 PM · Restricted Project, Restricted Project

Jun 1 2023

augusto2112 updated the diff for D151950: [lldb] Unconditionally increment depth when printing children.

Add radar

Jun 1 2023, 5:05 PM · Restricted Project, Restricted Project
augusto2112 requested review of D151950: [lldb] Unconditionally increment depth when printing children.
Jun 1 2023, 5:04 PM · Restricted Project, Restricted Project

May 18 2023

augusto2112 committed rG8fe9718dd5f2: [lldb] Implement GetValueTypeFromAddressType (authored by augusto2112).
[lldb] Implement GetValueTypeFromAddressType
May 18 2023, 10:33 AM · Restricted Project
augusto2112 closed D150826: [lldb] Implement GetValueTypeFromAddressType.
May 18 2023, 10:33 AM · Restricted Project, Restricted Project

May 17 2023

augusto2112 updated the diff for D150826: [lldb] Implement GetValueTypeFromAddressType.

Add llvm_unreachable

May 17 2023, 4:49 PM · Restricted Project, Restricted Project
augusto2112 added a comment to D150826: [lldb] Implement GetValueTypeFromAddressType.

Where do you plan on using this? Downstream I assume?

May 17 2023, 4:47 PM · Restricted Project, Restricted Project
augusto2112 added reviewers for D150826: [lldb] Implement GetValueTypeFromAddressType: kastiglione, bulbazord.
May 17 2023, 4:42 PM · Restricted Project, Restricted Project
augusto2112 requested review of D150826: [lldb] Implement GetValueTypeFromAddressType.
May 17 2023, 3:58 PM · Restricted Project, Restricted Project

Apr 10 2023

augusto2112 committed rG19d969e340c9: [lldb] Implement SymbolFile::GetCompileOptions (authored by augusto2112).
[lldb] Implement SymbolFile::GetCompileOptions
Apr 10 2023, 10:14 AM · Restricted Project
augusto2112 closed D147748: [lldb] Implement SymbolFile::GetCompileOptions.
Apr 10 2023, 10:13 AM · Restricted Project, Restricted Project

Apr 7 2023

augusto2112 added inline comments to D147748: [lldb] Implement SymbolFile::GetCompileOptions.
Apr 7 2023, 4:51 PM · Restricted Project, Restricted Project
augusto2112 committed rGf733b4fb9b8b: Fix build failure introduced in https://reviews.llvm.org/D145208 (authored by augusto2112).
Fix build failure introduced in https://reviews.llvm.org/D145208
Apr 7 2023, 4:38 PM · Restricted Project, Restricted Project
augusto2112 retitled D147748: [lldb] Implement SymbolFile::GetCompileOptions from [lldb] Implement SymbolFile::ContainsCompileOption to [lldb] Implement SymbolFile::GetCompileOptions.
Apr 7 2023, 3:54 PM · Restricted Project, Restricted Project
augusto2112 updated the diff for D147748: [lldb] Implement SymbolFile::GetCompileOptions.

Changed implementation to GetCompileOptions

Apr 7 2023, 3:50 PM · Restricted Project, Restricted Project
augusto2112 added a comment to D147748: [lldb] Implement SymbolFile::GetCompileOptions.

At a higher level I wonder if this is really the best interface. If you ever need all the compile options, you probably want something like Args SymbolFile::GetCompileOptions(). Wouldn't that be a more generic way to do the same thing here? Or do we expect that for DW_AT_APPLE_flags the only possible use case is to check whether a particular flag is set?

Apr 7 2023, 10:44 AM · Restricted Project, Restricted Project

Apr 6 2023

augusto2112 requested review of D147748: [lldb] Implement SymbolFile::GetCompileOptions.
Apr 6 2023, 5:06 PM · Restricted Project, Restricted Project
augusto2112 added a reviewer for D147292: [lldb] Add support for the DW_AT_trampoline attribute with a boolean: Michael137.
Apr 6 2023, 4:30 PM · Restricted Project, Restricted Project
augusto2112 updated the diff for D147292: [lldb] Add support for the DW_AT_trampoline attribute with a boolean.

Addressed comments

Apr 6 2023, 3:31 PM · Restricted Project, Restricted Project
augusto2112 updated the diff for D146595: [clang] Add "debug_trampoline" attribute.

Updated MetadataTest.cpp

Apr 6 2023, 1:18 PM · debug-info, Restricted Project, Restricted Project, Restricted Project
augusto2112 added a comment to D146595: [clang] Add "debug_trampoline" attribute.

@aaron.ballman thanks all the code reviews.

Apr 6 2023, 1:10 PM · debug-info, Restricted Project, Restricted Project, Restricted Project
augusto2112 updated the diff for D146595: [clang] Add "debug_trampoline" attribute.

Added release note

Apr 6 2023, 1:08 PM · debug-info, Restricted Project, Restricted Project, Restricted Project
augusto2112 retitled D146595: [clang] Add "debug_trampoline" attribute from [clang] Add "transparent_stepping" attribute to [clang] Add "debug_trampoline" attribute.
Apr 6 2023, 12:59 PM · debug-info, Restricted Project, Restricted Project, Restricted Project
augusto2112 updated the diff for D146595: [clang] Add "debug_trampoline" attribute.

Updated git commit message

Apr 6 2023, 12:59 PM · debug-info, Restricted Project, Restricted Project, Restricted Project
augusto2112 updated the diff for D146595: [clang] Add "debug_trampoline" attribute.

Updated to debug_trampoline, and addressed comments

Apr 6 2023, 12:58 PM · debug-info, Restricted Project, Restricted Project, Restricted Project

Apr 1 2023

augusto2112 abandoned D146679: [lldb] Add support for the DW_AT_trampoline attribute with mangled names.

Abandoning in favor of https://reviews.llvm.org/D147292/.

Apr 1 2023, 5:23 PM · Restricted Project, Restricted Project
augusto2112 added a comment to D147292: [lldb] Add support for the DW_AT_trampoline attribute with a boolean.

There seems to be overlap in the code added in this patch and D146679. Does one supersede the other or is there a dependency? If it's the latter you should extract that into a separate patch and make it a parent revision of this and D146679.

Apr 1 2023, 5:22 PM · Restricted Project, Restricted Project

Mar 30 2023

augusto2112 requested review of D147292: [lldb] Add support for the DW_AT_trampoline attribute with a boolean.
Mar 30 2023, 7:08 PM · Restricted Project, Restricted Project
augusto2112 added a comment to D146595: [clang] Add "debug_trampoline" attribute.

I hope I'm not kicking off a long bike-shedding thread, but I would propose to either call the attribute transparent to match the DWARF attribute name, or if we want to be more descriptive, debug_transparent, or transparentdebug to fit better with other attributes such as nodebug. My vote is on transparent.

Mar 30 2023, 5:23 PM · debug-info, Restricted Project, Restricted Project, Restricted Project
augusto2112 added a comment to D146595: [clang] Add "debug_trampoline" attribute.

@aaron.ballman @dblaikie I've changed the patch to introduce a more general "transparent_stepping" attribute, which doesn't take in a string (similar to what David suggested), please take a look and let me know what you think.

Mar 30 2023, 2:12 PM · debug-info, Restricted Project, Restricted Project, Restricted Project
augusto2112 retitled D146595: [clang] Add "debug_trampoline" attribute from [clang] Add clang trampoline_mangled_target attribute to [clang] Add "transparent_stepping" attribute.
Mar 30 2023, 2:06 PM · debug-info, Restricted Project, Restricted Project, Restricted Project
augusto2112 updated the diff for D146595: [clang] Add "debug_trampoline" attribute.

Updating to "transparent_stepping" attribute

Mar 30 2023, 2:05 PM · debug-info, Restricted Project, Restricted Project, Restricted Project