Page MenuHomePhabricator

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

lgrey (Leonard Grey)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 24 2021, 12:22 PM (128 w, 2 d)

Recent Activity

Nov 6 2023

lgrey committed rG5d662011022c: [gn] Fix typo (authored by lgrey).
[gn] Fix typo
Nov 6 2023, 8:25 AM · Restricted Project, Restricted Project

Jul 17 2023

lgrey committed rGac604cc310b7: [lsan][Darwin] Unconditionally strip high bits from potential pointers (authored by lgrey).
[lsan][Darwin] Unconditionally strip high bits from potential pointers
Jul 17 2023, 12:19 PM · Restricted Project, Restricted Project
lgrey closed D153471: [lsan][Darwin] Unconditionally strip high bits from potential pointers.
Jul 17 2023, 12:19 PM · Restricted Project, Restricted Project
lgrey committed rGd17b518568e1: [gn] Port 8ac71b026ee6 (no more _LIBCPP_HAS_THREAD_LIBRARY_EXTERNAL) (authored by lgrey).
[gn] Port 8ac71b026ee6 (no more _LIBCPP_HAS_THREAD_LIBRARY_EXTERNAL)
Jul 17 2023, 9:13 AM · Restricted Project, Restricted Project

Jul 7 2023

lgrey committed rGc636274e273f: [gn] Enable check-lsan on Linux (authored by lgrey).
[gn] Enable check-lsan on Linux
Jul 7 2023, 2:06 PM · Restricted Project, Restricted Project

Jul 6 2023

lgrey committed rG5e763d35e46e: [gn] Add check-lsan target for Mac (authored by lgrey).
[gn] Add check-lsan target for Mac
Jul 6 2023, 10:04 AM · Restricted Project, Restricted Project
lgrey closed D153651: [gn] Add check-lsan target for Mac.
Jul 6 2023, 10:03 AM · Restricted Project, Restricted Project

Jul 5 2023

lgrey added inline comments to D153651: [gn] Add check-lsan target for Mac.
Jul 5 2023, 2:24 PM · Restricted Project, Restricted Project
lgrey updated the diff for D153651: [gn] Add check-lsan target for Mac.

Combine Mac and iOS target flags + light cleanup

Jul 5 2023, 2:24 PM · Restricted Project, Restricted Project
lgrey added inline comments to D153471: [lsan][Darwin] Unconditionally strip high bits from potential pointers.
Jul 5 2023, 12:59 PM · Restricted Project, Restricted Project
lgrey updated the diff for D153471: [lsan][Darwin] Unconditionally strip high bits from potential pointers.

Update function name and comment

Jul 5 2023, 12:58 PM · Restricted Project, Restricted Project

Jun 23 2023

lgrey requested review of D153651: [gn] Add check-lsan target for Mac.
Jun 23 2023, 10:58 AM · Restricted Project, Restricted Project

Jun 21 2023

lgrey requested review of D153471: [lsan][Darwin] Unconditionally strip high bits from potential pointers.
Jun 21 2023, 2:36 PM · Restricted Project, Restricted Project
lgrey added a comment to D153072: [lsan] Be more conservative in SuspendedThreadsListMac::GetRegistersAndSP.

yln@, looks like kubamracek@ hasn't been active recently, can you take a look? :)

Jun 21 2023, 7:43 AM · Restricted Project, Restricted Project
lgrey added a reviewer for D153072: [lsan] Be more conservative in SuspendedThreadsListMac::GetRegistersAndSP: yln.
Jun 21 2023, 7:42 AM · Restricted Project, Restricted Project

Jun 20 2023

lgrey committed rG55a2c4eb04b2: [lsan] Remove use_tls=0 from a few tests (authored by lgrey).
[lsan] Remove use_tls=0 from a few tests
Jun 20 2023, 3:53 PM · Restricted Project, Restricted Project
lgrey closed D153081: [lsan] Remove use_tls=0 from a few tests.
Jun 20 2023, 3:53 PM · Restricted Project, Restricted Project

Jun 15 2023

lgrey requested review of D153081: [lsan] Remove use_tls=0 from a few tests.
Jun 15 2023, 3:39 PM · Restricted Project, Restricted Project
lgrey requested review of D153072: [lsan] Be more conservative in SuspendedThreadsListMac::GetRegistersAndSP.
Jun 15 2023, 1:52 PM · Restricted Project, Restricted Project

Jun 12 2023

lgrey committed rGc24a39b726e9: [gn] Mac support for check-asan target (authored by lgrey).
[gn] Mac support for check-asan target
Jun 12 2023, 6:59 AM · Restricted Project, Restricted Project
lgrey closed D152591: [gn] Add Mac support to check-asan target.
Jun 12 2023, 6:59 AM · Restricted Project, Restricted Project
lgrey updated the diff for D152591: [gn] Add Mac support to check-asan target.

Unconditional tool/util deps

Jun 12 2023, 6:54 AM · Restricted Project, Restricted Project

Jun 9 2023

lgrey requested review of D152591: [gn] Add Mac support to check-asan target.
Jun 9 2023, 3:38 PM · Restricted Project, Restricted Project

Apr 13 2023

lgrey added a comment to D147984: ASan: move allocator base to avoid conflict with high-entropy ASLR for x86-64 Linux.

This broke the lit tests on Mac: LeakSanitizer-AddressSanitizer-x86_64 :: TestCases/Darwin/trampoline.mm
@lgrey who added that in D129385 maybe has some idea of what's going on?

I'll revert this for now.

Apr 13 2023, 8:02 AM · Restricted Project, Restricted Project

Mar 13 2023

lgrey abandoned D144589: [lld-macho] Don't emit symbols into the symtab multiple times.

Obviated by https://reviews.llvm.org/D145455

Mar 13 2023, 7:44 AM · Restricted Project, Unknown Object (Project), Restricted Project

Mar 7 2023

lgrey accepted D145455: [lld-macho] Coalesce local symbol aliases along with their aliased weak def.

LGTM, thanks! Patched this in, and this fixes both the bug I mentioned on the other change as well as another one that was setting aliasee sizes to zero in STABS.

Mar 7 2023, 11:22 AM · Restricted Project, Restricted Project, Unknown Object (Project)

Mar 3 2023

lgrey added a comment to D144589: [lld-macho] Don't emit symbols into the symtab multiple times.

Ping :) Have you had a chance to think about alternatives?

Mar 3 2023, 8:29 AM · Restricted Project, Unknown Object (Project), Restricted Project

Feb 23 2023

lgrey added a comment to D144589: [lld-macho] Don't emit symbols into the symtab multiple times.

1.5% seems kinda significant.

Feb 23 2023, 1:39 PM · Restricted Project, Unknown Object (Project), Restricted Project

Feb 22 2023

lgrey requested review of D144589: [lld-macho] Don't emit symbols into the symtab multiple times.
Feb 22 2023, 1:39 PM · Restricted Project, Unknown Object (Project), Restricted Project

Nov 7 2022

lgrey accepted D137492: [lld-macho] Ensure that chained fixups data comes first in __LINKEDIT.

Patched it in and strip looks happy. Thanks!

Nov 7 2022, 6:12 AM · Restricted Project, Restricted Project, Unknown Object (Project)

Sep 14 2022

lgrey committed rGed2c3f46f5a7: [lsan][Darwin] Scan libdispatch and Foundation memory regions (authored by lgrey).
[lsan][Darwin] Scan libdispatch and Foundation memory regions
Sep 14 2022, 1:47 PM · Restricted Project, Restricted Project
lgrey closed D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions.
Sep 14 2022, 1:47 PM · Restricted Project, Restricted Project
lgrey updated the diff for D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions.

Format

Sep 14 2022, 1:03 PM · Restricted Project, Restricted Project
lgrey added a comment to D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions.

I'll merge this later today if nobody has objections.

Sep 14 2022, 9:11 AM · Restricted Project, Restricted Project

Sep 12 2022

lgrey updated the diff for D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions.

Add operator| and operator|=, remove casting

Sep 12 2022, 2:21 PM · Restricted Project, Restricted Project
lgrey added inline comments to D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions.
Sep 12 2022, 11:27 AM · Restricted Project, Restricted Project
lgrey added inline comments to D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions.
Sep 12 2022, 8:20 AM · Restricted Project, Restricted Project
lgrey updated the diff for D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions.

enum -> enum class, remove memory tag aliases, clang-format

Sep 12 2022, 8:20 AM · Restricted Project, Restricted Project

Sep 8 2022

lgrey updated the diff for D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions.

Updated with test now that https://reviews.llvm.org/D133126 has landed.

Sep 8 2022, 2:28 PM · Restricted Project, Restricted Project

Sep 7 2022

lgrey committed rGa5764912fb48: [lld-macho] Hardlink -object_path_lto files to cache when possible (authored by lgrey).
[lld-macho] Hardlink -object_path_lto files to cache when possible
Sep 7 2022, 11:28 AM · Restricted Project
lgrey closed D133218: [lld-macho] Hardlink -object_path_lto files to cache when possible.
Sep 7 2022, 11:28 AM · Restricted Project, Restricted Project, Unknown Object (Project)
lgrey updated the diff for D133218: [lld-macho] Hardlink -object_path_lto files to cache when possible.

Comment on test, make test work on Linux

Sep 7 2022, 10:51 AM · Restricted Project, Restricted Project, Unknown Object (Project)

Sep 6 2022

lgrey added a comment to D133218: [lld-macho] Hardlink -object_path_lto files to cache when possible.

Added test. For some reason, I thought it was less practical than it ended up being, thanks for the suggestion.

Sep 6 2022, 12:51 PM · Restricted Project, Restricted Project, Unknown Object (Project)
lgrey updated the diff for D133218: [lld-macho] Hardlink -object_path_lto files to cache when possible.

Add test, clarify control flow

Sep 6 2022, 12:51 PM · Restricted Project, Restricted Project, Unknown Object (Project)

Sep 2 2022

lgrey requested review of D133218: [lld-macho] Hardlink -object_path_lto files to cache when possible.
Sep 2 2022, 10:59 AM · Restricted Project, Restricted Project, Unknown Object (Project)
lgrey committed rGf458d9f6f892: [lsan][darwin] Unmask camouflaged class_rw_t pointers (authored by lgrey).
[lsan][darwin] Unmask camouflaged class_rw_t pointers
Sep 2 2022, 8:26 AM · Restricted Project, Restricted Project
lgrey closed D133126: [lsan][darwin] Unmask camouflaged class_rw_t pointers.
Sep 2 2022, 8:26 AM · Restricted Project, Restricted Project

Sep 1 2022

lgrey requested review of D133126: [lsan][darwin] Unmask camouflaged class_rw_t pointers.
Sep 1 2022, 10:21 AM · Restricted Project, Restricted Project

Aug 12 2022

lgrey committed rG6c627950585a: [lld-macho] Ensure cached objects are affected by `-object_path_lto` (authored by lgrey).
[lld-macho] Ensure cached objects are affected by `-object_path_lto`
Aug 12 2022, 8:06 AM · Restricted Project
lgrey closed D131624: [lld-macho] Ensure cached objects are affected by `-object_path_lto`.
Aug 12 2022, 8:06 AM · Restricted Project, Restricted Project, Unknown Object (Project)
lgrey added a comment to D131624: [lld-macho] Ensure cached objects are affected by `-object_path_lto`.

One thing missing is that in libLTO, the cached object is written to -object_path_lto using a hard-link. That is intentional to reduce the disk usage and it is faster than write a file buffer to output file. Might want to consider doing that in lld for future.

Aug 12 2022, 7:56 AM · Restricted Project, Restricted Project, Unknown Object (Project)

Aug 10 2022

lgrey requested review of D131624: [lld-macho] Ensure cached objects are affected by `-object_path_lto`.
Aug 10 2022, 2:56 PM · Restricted Project, Restricted Project, Unknown Object (Project)

Jul 15 2022

lgrey committed rG1231a2cec005: [lsan][Darwin][nfc] Fix thread vector size (authored by lgrey).
[lsan][Darwin][nfc] Fix thread vector size
Jul 15 2022, 2:36 PM · Restricted Project, Restricted Project
lgrey closed D129897: [lsan][Darwin][nfc] Fix thread vector size.
Jul 15 2022, 2:36 PM · Restricted Project, Restricted Project
lgrey updated the diff for D129897: [lsan][Darwin][nfc] Fix thread vector size.

Changed to =default

Jul 15 2022, 2:02 PM · Restricted Project, Restricted Project
lgrey committed rGb15cf06fb34b: [lsan][nfc] Add missing newline to VReport (authored by lgrey).
[lsan][nfc] Add missing newline to VReport
Jul 15 2022, 12:47 PM · Restricted Project, Restricted Project
lgrey requested review of D129897: [lsan][Darwin][nfc] Fix thread vector size.
Jul 15 2022, 12:41 PM · Restricted Project, Restricted Project

Jul 14 2022

lgrey added a comment to D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions.

To be perfectly honest, I'm not sure since the objc runtime issues are masking everything else! I'm going to send a separate change to suppress those and get back to you :)

Jul 14 2022, 8:59 AM · Restricted Project, Restricted Project

Jul 8 2022

lgrey added a comment to D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions.

Does this fix the check-lsan and check-asan targets (currently many tests are failing there on macOS Beta 13)?
Thanks!

Jul 8 2022, 12:43 PM · Restricted Project, Restricted Project
lgrey edited reviewers for D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions, added: yln; removed: fjricci.
Jul 8 2022, 11:09 AM · Restricted Project, Restricted Project
lgrey requested review of D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions.
Jul 8 2022, 10:48 AM · Restricted Project, Restricted Project

Jun 3 2022

lgrey committed rGdd6bcdbf2171: [Attributes] Remove AttrSyntax and migrate uses to AttributeCommonInfo::Syntax… (authored by lgrey).
[Attributes] Remove AttrSyntax and migrate uses to AttributeCommonInfo::Syntax…
Jun 3 2022, 9:12 AM · Restricted Project, Restricted Project
lgrey closed D126902: [Attributes] Remove AttrSyntax and migrate uses to AttributeCommonInfo::Syntax (NFC).
Jun 3 2022, 9:12 AM · Restricted Project, Restricted Project
lgrey updated the diff for D126902: [Attributes] Remove AttrSyntax and migrate uses to AttributeCommonInfo::Syntax (NFC).

Add assert

Jun 3 2022, 8:39 AM · Restricted Project, Restricted Project

Jun 2 2022

lgrey added inline comments to D126902: [Attributes] Remove AttrSyntax and migrate uses to AttributeCommonInfo::Syntax (NFC).
Jun 2 2022, 11:17 AM · Restricted Project, Restricted Project
lgrey requested review of D126902: [Attributes] Remove AttrSyntax and migrate uses to AttributeCommonInfo::Syntax (NFC).
Jun 2 2022, 11:15 AM · Restricted Project, Restricted Project

Apr 1 2022

lgrey added inline comments to D122843: [lld-macho] Include output filename in UUID hash.
Apr 1 2022, 3:43 PM · Restricted Project, Restricted Project, Unknown Object (Project)

Mar 31 2022

lgrey committed rGa9e325116ca8: Add output filename to UUID hash (authored by lgrey).
Add output filename to UUID hash
Mar 31 2022, 3:52 PM · Restricted Project
lgrey closed D122843: [lld-macho] Include output filename in UUID hash.
Mar 31 2022, 3:52 PM · Restricted Project, Restricted Project, Unknown Object (Project)
lgrey added inline comments to D122843: [lld-macho] Include output filename in UUID hash.
Mar 31 2022, 2:50 PM · Restricted Project, Restricted Project, Unknown Object (Project)
lgrey updated the diff for D122843: [lld-macho] Include output filename in UUID hash.

Add test for -final_output

Mar 31 2022, 1:18 PM · Restricted Project, Restricted Project, Unknown Object (Project)
lgrey added inline comments to D122843: [lld-macho] Include output filename in UUID hash.
Mar 31 2022, 12:11 PM · Restricted Project, Restricted Project, Unknown Object (Project)
lgrey updated the diff for D122843: [lld-macho] Include output filename in UUID hash.

Use finalOutput

Mar 31 2022, 12:10 PM · Restricted Project, Restricted Project, Unknown Object (Project)
lgrey requested review of D122843: [lld-macho] Include output filename in UUID hash.
Mar 31 2022, 12:04 PM · Restricted Project, Restricted Project, Unknown Object (Project)

Mar 3 2022

lgrey accepted D120940: [lld-macho][nfc] Avoid using absolute addresses in cgprofile-icf.s.

LGTM!

Mar 3 2022, 2:10 PM · Restricted Project, Restricted Project, Unknown Object (Project)

Feb 17 2022

lgrey committed rGa52b9102d1f7: [lld-macho] Allow order files and call graph sorting to be used together (authored by lgrey).
[lld-macho] Allow order files and call graph sorting to be used together
Feb 17 2022, 11:20 AM
lgrey closed D117354: [lld-macho] Allow order files and call graph sorting to be used together.
Feb 17 2022, 11:20 AM · Unknown Object (Project), Restricted Project

Feb 15 2022

lgrey accepted D119892: [lld-macho][nfc] Factor out callgraph parsing code.

+1, thanks!

Feb 15 2022, 2:48 PM · Restricted Project, Unknown Object (Project)

Feb 14 2022

lgrey added inline comments to D119612: [clang] Pass more flags to ld64.lld.
Feb 14 2022, 6:58 AM · Restricted Project

Jan 28 2022

lgrey added inline comments to D117354: [lld-macho] Allow order files and call graph sorting to be used together.
Jan 28 2022, 6:56 AM · Unknown Object (Project), Restricted Project

Jan 25 2022

lgrey added a comment to D117354: [lld-macho] Allow order files and call graph sorting to be used together.

I'd have one commit that does nothing but the file rename, then a 2nd commit that only moves unchanged functions around (both fine to commit directly), and then I'd rebase this on top of that so that it only shows the behavior change.

Having the file name be different from ELF and COFF is a bit unfortunate, but oh well.

Jan 25 2022, 9:27 AM · Unknown Object (Project), Restricted Project
lgrey updated the diff for D117354: [lld-macho] Allow order files and call graph sorting to be used together.

Rebased on rename/function move

Jan 25 2022, 9:27 AM · Unknown Object (Project), Restricted Project
lgrey committed rGa5c9d717807f: [lld-macho] Move order file and call graph sorting into SectionPriorities (authored by lgrey).
[lld-macho] Move order file and call graph sorting into SectionPriorities
Jan 25 2022, 9:22 AM
lgrey committed rGf23d57a63266: [lld-macho] Rename CallGraphSort.{h,cpp} to SectionPriorities (authored by lgrey).
[lld-macho] Rename CallGraphSort.{h,cpp} to SectionPriorities
Jan 25 2022, 9:16 AM

Jan 21 2022

lgrey updated the diff for D117354: [lld-macho] Allow order files and call graph sorting to be used together.

Format and rebase

Jan 21 2022, 10:49 AM · Unknown Object (Project), Restricted Project

Jan 20 2022

lgrey updated the diff for D117354: [lld-macho] Allow order files and call graph sorting to be used together.

Rebase

Jan 20 2022, 1:37 PM · Unknown Object (Project), Restricted Project
lgrey added inline comments to D117354: [lld-macho] Allow order files and call graph sorting to be used together.
Jan 20 2022, 1:26 PM · Unknown Object (Project), Restricted Project
lgrey updated the diff for D117354: [lld-macho] Allow order files and call graph sorting to be used together.

Ref - > pointer to const in addSym

Jan 20 2022, 1:19 PM · Unknown Object (Project), Restricted Project
lgrey updated the diff for D117354: [lld-macho] Allow order files and call graph sorting to be used together.

Rebase

Jan 20 2022, 11:06 AM · Unknown Object (Project), Restricted Project
lgrey updated the diff for D117354: [lld-macho] Allow order files and call graph sorting to be used together.

Update callsites

Jan 20 2022, 10:57 AM · Unknown Object (Project), Restricted Project
lgrey added inline comments to D117354: [lld-macho] Allow order files and call graph sorting to be used together.
Jan 20 2022, 10:51 AM · Unknown Object (Project), Restricted Project
lgrey updated the diff for D117354: [lld-macho] Allow order files and call graph sorting to be used together.

Comment round and format

Jan 20 2022, 10:50 AM · Unknown Object (Project), Restricted Project

Jan 14 2022

lgrey requested review of D117354: [lld-macho] Allow order files and call graph sorting to be used together.
Jan 14 2022, 1:01 PM · Unknown Object (Project), Restricted Project

Jan 11 2022

lgrey added inline comments to D112164: [lld-macho] Port CallGraphSort from COFF/ELF.
Jan 11 2022, 2:55 PM · Unknown Object (Project), Restricted Project
lgrey updated the diff for D112164: [lld-macho] Port CallGraphSort from COFF/ELF.

Add time trace for parsing section, options edit

Jan 11 2022, 2:55 PM · Unknown Object (Project), Restricted Project
lgrey updated the diff for D112160: [MachO] Port call graph profile section and directive.

Variable renames, added missing newline

Jan 11 2022, 1:44 PM · Restricted Project
lgrey updated the diff for D112164: [lld-macho] Port CallGraphSort from COFF/ELF.

Restore accidentally stomped diff

Jan 11 2022, 1:40 PM · Unknown Object (Project), Restricted Project
lgrey updated the diff for D112164: [lld-macho] Port CallGraphSort from COFF/ELF.

Var renames, missing newline

Jan 11 2022, 1:34 PM · Unknown Object (Project), Restricted Project

Dec 3 2021

lgrey requested review of D115055: [Support] Use final filename for Caching buffer identifier.
Dec 3 2021, 11:13 AM · Unknown Object (Project), Restricted Project

Oct 28 2021

lgrey updated the diff for D112164: [lld-macho] Port CallGraphSort from COFF/ELF.

Remove braces around single-line if

Oct 28 2021, 2:06 PM · Restricted Project, Restricted Project