Page MenuHomePhabricator

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

pzheng (Pengxuan Zheng)
User

Projects

User does not belong to any projects.

User Details

User Since
Dec 7 2016, 1:53 PM (354 w, 3 d)

Recent Activity

May 31 2023

pzheng added a comment to D151740: [libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc.

Please don't land libc++ patches until the libc++ group has approved.

Oops, sorry for my ignorance, @philnik... I didn't know this rule existed for libc++ patch reviews. Thank you for educating me.

In general in Phabricator when there are blocking reviewers you should wait on their approval.

May 31 2023, 10:29 AM · Restricted Project, Restricted Project
pzheng added a comment to D151740: [libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc.

Please don't land libc++ patches until the libc++ group has approved.

May 31 2023, 10:06 AM · Restricted Project, Restricted Project

May 30 2023

pzheng committed rGfef23e8d871a: [libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc (authored by pzheng).
[libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc
May 30 2023, 6:00 PM · Restricted Project, Restricted Project
pzheng closed D151740: [libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc.
May 30 2023, 5:59 PM · Restricted Project, Restricted Project
pzheng added inline comments to D151740: [libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc.
May 30 2023, 1:18 PM · Restricted Project, Restricted Project
pzheng updated the diff for D151740: [libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc.

Add undef after include

May 30 2023, 1:17 PM · Restricted Project, Restricted Project
pzheng requested review of D151740: [libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc.
May 30 2023, 11:24 AM · Restricted Project, Restricted Project

Feb 13 2023

pzheng accepted D143915: [llvm][AArch64] Fix an interaction of SLS and BTI after a returns twice call.

Thanks for the fix, @DavidSpickett! I confirm that this patch fixes the crash we encountered.

Feb 13 2023, 4:59 PM · Restricted Project, Restricted Project

Feb 3 2023

pzheng abandoned D143235: [AArch64] Avoid lowering setjmp call to CALL_BTI if harden-sls-blr is enabled.

Thanks for the feedback, @DavidSpickett! Our longjmp implementation does not use br, so this patch is safe for us. Having said that, I do understand your concern over not generating a bti after setjmp when both sls-blr and branch target enforcement are enabled.

Feb 3 2023, 9:47 AM · Restricted Project, Restricted Project

Feb 2 2023

pzheng requested review of D143235: [AArch64] Avoid lowering setjmp call to CALL_BTI if harden-sls-blr is enabled.
Feb 2 2023, 5:10 PM · Restricted Project, Restricted Project

Dec 23 2022

pzheng added a comment to D140233: [lld-macho][test][nfc] Update stabs.s to use GMT time zone instead of UTC.

Sure, @thakis. We are working with our IT department to get to the bottom of this and will report the issue to the container vendor if IT concludes it's a container bug.

Dec 23 2022, 9:13 AM · Restricted Project, Restricted Project, Restricted Project
pzheng committed rGa337c16d96a0: [lld-macho][test][nfc] Update stabs.s to use GMT time zone instead of UTC (authored by pzheng).
[lld-macho][test][nfc] Update stabs.s to use GMT time zone instead of UTC
Dec 23 2022, 8:52 AM · Restricted Project
pzheng closed D140233: [lld-macho][test][nfc] Update stabs.s to use GMT time zone instead of UTC.
Dec 23 2022, 8:52 AM · Restricted Project, Restricted Project, Restricted Project
pzheng added a comment to D140233: [lld-macho][test][nfc] Update stabs.s to use GMT time zone instead of UTC.

Sure, I'll monitor the buildbot in case this causes any failures.

Dec 23 2022, 8:50 AM · Restricted Project, Restricted Project, Restricted Project

Dec 16 2022

pzheng added a comment to D139980: [lld-macho][test][nfc] Update stabs.s to use touch -d instead of -t.

I just proposed the new workaround in D140233.

Dec 16 2022, 10:51 AM · Restricted Project, Restricted Project, Restricted Project
pzheng requested review of D140233: [lld-macho][test][nfc] Update stabs.s to use GMT time zone instead of UTC.
Dec 16 2022, 10:49 AM · Restricted Project, Restricted Project, Restricted Project

Dec 15 2022

pzheng added a comment to D139980: [lld-macho][test][nfc] Update stabs.s to use touch -d instead of -t.

Thanks for checking, @haowei!

Dec 15 2022, 2:14 PM · Restricted Project, Restricted Project, Restricted Project

Dec 14 2022

pzheng added a comment to D139980: [lld-macho][test][nfc] Update stabs.s to use touch -d instead of -t.

I did more experiments with the command. Looks like replacing UTC with GMT worked correctly in the container. For example, env TZ=GMT touch -t "197001010000.16". This is functionally equivalent to env TZ=UTC touch -t "197001010000.16" and probably won't break anything. Any concern with this approach?

Dec 14 2022, 6:01 PM · Restricted Project, Restricted Project, Restricted Project
pzheng added a comment to D139980: [lld-macho][test][nfc] Update stabs.s to use touch -d instead of -t.

Thanks for acting upon this quickly, @thakis!

Sorry for the inconveniences caused by this change, @haowei. Do you mind trying the other form of the command (touch -d "1970-01-01T00:00:16Z") on your builder and see if that works? I am hoping that we can have a simple workaround for the container issue I encountered without breaking any other stuff of course.

I don't have ssh access on builder bots, unfortunately. If you look at the error output, -d flag looks like is not supported at all on Big Sur. In that case, using -d will break LLVM build on all Big Sur or older Mac OS and it would be undesirable.

If this is the only test your container has trouble has. How about using LIT_FILTER_OUT env arg to bypass this test in your container?

Dec 14 2022, 10:30 AM · Restricted Project, Restricted Project, Restricted Project
pzheng added a comment to D139980: [lld-macho][test][nfc] Update stabs.s to use touch -d instead of -t.

Thanks for acting upon this quickly, @thakis!

Dec 14 2022, 9:59 AM · Restricted Project, Restricted Project, Restricted Project

Dec 13 2022

pzheng committed rG3c9f479a5e47: [lld-macho][test][nfc] Update stabs.s to use touch -d instead of -t (authored by pzheng).
[lld-macho][test][nfc] Update stabs.s to use touch -d instead of -t
Dec 13 2022, 5:06 PM · Restricted Project
pzheng closed D139980: [lld-macho][test][nfc] Update stabs.s to use touch -d instead of -t.
Dec 13 2022, 5:05 PM · Restricted Project, Restricted Project, Restricted Project
pzheng added a comment to D139980: [lld-macho][test][nfc] Update stabs.s to use touch -d instead of -t.

Thanks for reviewing, @int3!

Dec 13 2022, 5:05 PM · Restricted Project, Restricted Project, Restricted Project
pzheng requested review of D139980: [lld-macho][test][nfc] Update stabs.s to use touch -d instead of -t.
Dec 13 2022, 4:28 PM · Restricted Project, Restricted Project, Restricted Project

Sep 26 2022

pzheng committed rG961c45fd9f4e: [LLD][COFF] Generate map file even if no /out flag is present (authored by pzheng).
[LLD][COFF] Generate map file even if no /out flag is present
Sep 26 2022, 9:06 AM · Restricted Project
pzheng closed D134559: [LLD][COFF] Generate map file even if no /out flag is present.
Sep 26 2022, 9:05 AM · Restricted Project, Restricted Project
pzheng added a comment to D134559: [LLD][COFF] Generate map file even if no /out flag is present.

Thanks for reviewing!

Sep 26 2022, 9:04 AM · Restricted Project, Restricted Project

Sep 25 2022

pzheng updated the diff for D134559: [LLD][COFF] Generate map file even if no /out flag is present.

Add a dedicated test

Sep 25 2022, 11:51 AM · Restricted Project, Restricted Project

Sep 23 2022

pzheng updated the summary of D134559: [LLD][COFF] Generate map file even if no /out flag is present.
Sep 23 2022, 5:31 PM · Restricted Project, Restricted Project
pzheng updated the diff for D134559: [LLD][COFF] Generate map file even if no /out flag is present.

minor update to the commit messasge

Sep 23 2022, 2:21 PM · Restricted Project, Restricted Project
pzheng requested review of D134559: [LLD][COFF] Generate map file even if no /out flag is present.
Sep 23 2022, 1:00 PM · Restricted Project, Restricted Project

Sep 20 2022

pzheng committed rG7b31756393ab: [LLD][COFF] Support /MAPINFO flag (authored by pzheng).
[LLD][COFF] Support /MAPINFO flag
Sep 20 2022, 2:39 PM · Restricted Project
pzheng closed D134247: [LLD][COFF] Support /MAPINFO flag.
Sep 20 2022, 2:39 PM · Restricted Project, Restricted Project

Sep 19 2022

pzheng requested review of D134247: [LLD][COFF] Support /MAPINFO flag.
Sep 19 2022, 5:29 PM · Restricted Project, Restricted Project

Sep 16 2022

pzheng committed rG59365f33e27b: [MachineCSE] Add a threshold to avoid spending too much time in… (authored by pzheng).
[MachineCSE] Add a threshold to avoid spending too much time in…
Sep 16 2022, 1:35 PM · Restricted Project, Restricted Project
pzheng closed D134003: [MachineCSE] Add a threshold to avoid spending too much time in isProfitableToCSE.
Sep 16 2022, 1:35 PM · Restricted Project, Restricted Project

Sep 15 2022

pzheng requested review of D134003: [MachineCSE] Add a threshold to avoid spending too much time in isProfitableToCSE.
Sep 15 2022, 6:02 PM · Restricted Project, Restricted Project

Sep 13 2022

pzheng committed rGecb5ea6a266d: [Object][COFF] Allow section symbol to be common symbol (authored by pzheng).
[Object][COFF] Allow section symbol to be common symbol
Sep 13 2022, 6:07 PM · Restricted Project, Restricted Project
pzheng closed D133627: [Object][COFF] Allow section symbol to be common symbol.
Sep 13 2022, 6:07 PM · Restricted Project, Restricted Project

Sep 12 2022

pzheng updated the diff for D133627: [Object][COFF] Allow section symbol to be common symbol.

Add a test

Sep 12 2022, 7:20 PM · Restricted Project, Restricted Project

Sep 9 2022

pzheng requested review of D133627: [Object][COFF] Allow section symbol to be common symbol.
Sep 9 2022, 6:16 PM · Restricted Project, Restricted Project

Aug 9 2022

pzheng committed rG9bb66224239e: [ARM] Do not use LOAD_STACK_GUARD with ROPI/RWPI (authored by pzheng).
[ARM] Do not use LOAD_STACK_GUARD with ROPI/RWPI
Aug 9 2022, 2:59 PM · Restricted Project, Restricted Project
pzheng closed D131427: [ARM] Do not use LOAD_STACK_GUARD with ROPI/RWPI.
Aug 9 2022, 2:59 PM · Restricted Project, Restricted Project
pzheng updated the diff for D131427: [ARM] Do not use LOAD_STACK_GUARD with ROPI/RWPI.

Update test based on review feedback

Aug 9 2022, 12:36 PM · Restricted Project, Restricted Project
pzheng committed rGc951edb7b22e: [LLD][COFF] Identify /GL object files which are inside libraries (authored by pzheng).
[LLD][COFF] Identify /GL object files which are inside libraries
Aug 9 2022, 12:33 PM · Restricted Project
pzheng closed D131458: [LLD][COFF] Identify /GL object files which are inside libraries.
Aug 9 2022, 12:32 PM · Restricted Project, Restricted Project
pzheng added a comment to D131458: [LLD][COFF] Identify /GL object files which are inside libraries.

Thanks for reviewing!

Aug 9 2022, 12:31 PM · Restricted Project, Restricted Project
pzheng added inline comments to D131427: [ARM] Do not use LOAD_STACK_GUARD with ROPI/RWPI.
Aug 9 2022, 11:47 AM · Restricted Project, Restricted Project

Aug 8 2022

pzheng updated the diff for D131458: [LLD][COFF] Identify /GL object files which are inside libraries.

minor change

Aug 8 2022, 6:05 PM · Restricted Project, Restricted Project
pzheng requested review of D131458: [LLD][COFF] Identify /GL object files which are inside libraries.
Aug 8 2022, 6:02 PM · Restricted Project, Restricted Project
pzheng added a comment to D131427: [ARM] Do not use LOAD_STACK_GUARD with ROPI/RWPI.

Thanks for reviewing the patch, @nickdesaulniers. I have added a test for the change.

Aug 8 2022, 4:05 PM · Restricted Project, Restricted Project
pzheng updated the diff for D131427: [ARM] Do not use LOAD_STACK_GUARD with ROPI/RWPI.

Add a test

Aug 8 2022, 4:03 PM · Restricted Project, Restricted Project
pzheng requested review of D131427: [ARM] Do not use LOAD_STACK_GUARD with ROPI/RWPI.
Aug 8 2022, 12:46 PM · Restricted Project, Restricted Project

Jul 21 2022

pzheng committed rG53d7bf3052dc: [llvm-lib] Ignore /VERBOSE flag (authored by pzheng).
[llvm-lib] Ignore /VERBOSE flag
Jul 21 2022, 10:06 AM · Restricted Project, Restricted Project
pzheng closed D130202: [llvm-lib] Ignore /VERBOSE flag.
Jul 21 2022, 10:06 AM · Restricted Project, Restricted Project

Jul 20 2022

pzheng requested review of D130202: [llvm-lib] Ignore /VERBOSE flag.
Jul 20 2022, 2:12 PM · Restricted Project, Restricted Project

Jul 5 2022

pzheng committed rG3f58177d7ffa: [llvm-lib] Ignore /NODEFAULTLIB flag (authored by pzheng).
[llvm-lib] Ignore /NODEFAULTLIB flag
Jul 5 2022, 10:28 AM · Restricted Project, Restricted Project
pzheng closed D129032: [llvm-lib] Ignore /NODEFAULTLIB flag.
Jul 5 2022, 10:28 AM · Restricted Project, Restricted Project
pzheng added a comment to D129032: [llvm-lib] Ignore /NODEFAULTLIB flag.

Looks fine to me.

May I ask what motivates all these changes? Are you trying to build a particular project? Is it difficult to not pass link.exe-only flags to lib.exe in that project for some reason?

Jul 5 2022, 10:01 AM · Restricted Project, Restricted Project

Jul 1 2022

pzheng requested review of D129032: [llvm-lib] Ignore /NODEFAULTLIB flag.
Jul 1 2022, 7:31 PM · Restricted Project, Restricted Project
pzheng committed rGb5e49cdea971: [LLD][COFF] Ignore /kernel flag (authored by pzheng).
[LLD][COFF] Ignore /kernel flag
Jul 1 2022, 10:03 AM · Restricted Project
pzheng closed D128238: [LLD][COFF] Ignore /kernel flag.
Jul 1 2022, 10:03 AM · Restricted Project, Restricted Project
pzheng added a comment to D128238: [LLD][COFF] Ignore /kernel flag.

Thanks!

Jul 1 2022, 10:02 AM · Restricted Project, Restricted Project

Jun 28 2022

pzheng added a comment to D128238: [LLD][COFF] Ignore /kernel flag.

Thanks, @thieta! @hans, please let me know if there is anything I need to address.

Jun 28 2022, 9:52 AM · Restricted Project, Restricted Project
pzheng committed rGb5b7e3adcdcd: [llvm-lib] Ignore /SUBSYSTEM flag (authored by pzheng).
[llvm-lib] Ignore /SUBSYSTEM flag
Jun 28 2022, 9:47 AM · Restricted Project, Restricted Project
pzheng closed D128458: [llvm-lib] Ignore /SUBSYSTEM flag.
Jun 28 2022, 9:47 AM · Restricted Project, Restricted Project
pzheng added a comment to D128458: [llvm-lib] Ignore /SUBSYSTEM flag.

Thanks!

Jun 28 2022, 9:45 AM · Restricted Project, Restricted Project

Jun 23 2022

pzheng requested review of D128458: [llvm-lib] Ignore /SUBSYSTEM flag.
Jun 23 2022, 12:46 PM · Restricted Project, Restricted Project

Jun 21 2022

pzheng retitled D128238: [LLD][COFF] Ignore /kernel flag from [LLD][COFF] Support /kernel flag to [LLD][COFF] Ignore /kernel flag.
Jun 21 2022, 11:12 AM · Restricted Project, Restricted Project
pzheng updated the diff for D128238: [LLD][COFF] Ignore /kernel flag.

Ignore the flag

Jun 21 2022, 11:11 AM · Restricted Project, Restricted Project
pzheng added a comment to D128238: [LLD][COFF] Ignore /kernel flag.

Thanks for the comments, @hans and @thieta! I haven't done any verification of anything built with this flag yet. So, I am not very confident whether there's more to it than what's documented by Microsoft. I guess, for now, we'll just ignore the flag. At some point, I'll probably get a chance to do more testing on this and maybe we can revisit it then.

Jun 21 2022, 11:02 AM · Restricted Project, Restricted Project

Jun 20 2022

pzheng updated the diff for D128238: [LLD][COFF] Ignore /kernel flag.

minor change

Jun 20 2022, 6:54 PM · Restricted Project, Restricted Project
pzheng requested review of D128238: [LLD][COFF] Ignore /kernel flag.
Jun 20 2022, 6:52 PM · Restricted Project, Restricted Project
pzheng committed rGdec16147912d: [LLD][COFF] Ignore /pdbcompress flag (authored by pzheng).
[LLD][COFF] Ignore /pdbcompress flag
Jun 20 2022, 4:49 PM · Restricted Project
pzheng closed D128231: [LLD][COFF] Ignore /pdbcompress flag.
Jun 20 2022, 4:48 PM · Restricted Project, Restricted Project
pzheng requested review of D128231: [LLD][COFF] Ignore /pdbcompress flag.
Jun 20 2022, 3:21 PM · Restricted Project, Restricted Project

Jun 16 2022

pzheng committed rG2e0c46044a5d: [Object][COFF] Improve section name parsing (authored by pzheng).
[Object][COFF] Improve section name parsing
Jun 16 2022, 5:01 PM · Restricted Project, Restricted Project
pzheng closed D127902: [Object][COFF] Improve section name parsing.
Jun 16 2022, 5:01 PM · Restricted Project, Restricted Project
pzheng updated the diff for D127902: [Object][COFF] Improve section name parsing.

Use getAsInteger

Jun 16 2022, 2:55 PM · Restricted Project, Restricted Project
pzheng added inline comments to D127902: [Object][COFF] Improve section name parsing.
Jun 16 2022, 2:51 PM · Restricted Project, Restricted Project

Jun 15 2022

pzheng added inline comments to D127902: [Object][COFF] Improve section name parsing.
Jun 15 2022, 2:39 PM · Restricted Project, Restricted Project
pzheng requested review of D127902: [Object][COFF] Improve section name parsing.
Jun 15 2022, 12:57 PM · Restricted Project, Restricted Project
pzheng committed rG9db61c3fe18a: [LLD][COFF] Convert file name to lowercase when inserting it into visitedLibs (authored by pzheng).
[LLD][COFF] Convert file name to lowercase when inserting it into visitedLibs
Jun 15 2022, 9:40 AM · Restricted Project
pzheng closed D127709: [LLD][COFF] Convert file name to lowercase when inserting it into visitedLibs.
Jun 15 2022, 9:39 AM · Restricted Project, Restricted Project

Jun 14 2022

pzheng updated the diff for D127709: [LLD][COFF] Convert file name to lowercase when inserting it into visitedLibs.

Fix a typo

Jun 14 2022, 12:40 PM · Restricted Project, Restricted Project
pzheng updated the diff for D127709: [LLD][COFF] Convert file name to lowercase when inserting it into visitedLibs.

Create a new test

Jun 14 2022, 12:38 PM · Restricted Project, Restricted Project
pzheng added a comment to D127709: [LLD][COFF] Convert file name to lowercase when inserting it into visitedLibs.

I guess it's a little weird to piggyback the test into nodefaultlib.test. :) Will put it into a new test instead.

Jun 14 2022, 12:20 PM · Restricted Project, Restricted Project
pzheng added a comment to D127709: [LLD][COFF] Convert file name to lowercase when inserting it into visitedLibs.

Thanks for the feedback, @hans and @thieta. I have added a test case which can trigger the bug.

Jun 14 2022, 12:01 PM · Restricted Project, Restricted Project
pzheng updated the diff for D127709: [LLD][COFF] Convert file name to lowercase when inserting it into visitedLibs.

Add a test case

Jun 14 2022, 11:59 AM · Restricted Project, Restricted Project

Jun 13 2022

pzheng requested review of D127709: [LLD][COFF] Convert file name to lowercase when inserting it into visitedLibs.
Jun 13 2022, 7:47 PM · Restricted Project, Restricted Project

Jun 10 2022

pzheng added inline comments to D127369: [Object][COFF] Fix section name parsing error when the name field is not null-padded.
Jun 10 2022, 6:04 PM · Restricted Project, Restricted Project

Jun 9 2022

pzheng added inline comments to D127369: [Object][COFF] Fix section name parsing error when the name field is not null-padded.
Jun 9 2022, 6:46 PM · Restricted Project, Restricted Project
pzheng added inline comments to D127369: [Object][COFF] Fix section name parsing error when the name field is not null-padded.
Jun 9 2022, 3:23 PM · Restricted Project, Restricted Project
pzheng committed rG064db243113c: [Object][COFF] Fix section name parsing error when the name field is not null… (authored by pzheng).
[Object][COFF] Fix section name parsing error when the name field is not null…
Jun 9 2022, 12:59 PM · Restricted Project, Restricted Project
pzheng closed D127369: [Object][COFF] Fix section name parsing error when the name field is not null-padded.
Jun 9 2022, 12:58 PM · Restricted Project, Restricted Project
pzheng added inline comments to D127369: [Object][COFF] Fix section name parsing error when the name field is not null-padded.
Jun 9 2022, 12:54 PM · Restricted Project, Restricted Project
pzheng updated the diff for D127369: [Object][COFF] Fix section name parsing error when the name field is not null-padded.

Small update the test

Jun 9 2022, 12:52 PM · Restricted Project, Restricted Project
pzheng added inline comments to D127369: [Object][COFF] Fix section name parsing error when the name field is not null-padded.
Jun 9 2022, 10:46 AM · Restricted Project, Restricted Project
pzheng updated the diff for D127369: [Object][COFF] Fix section name parsing error when the name field is not null-padded.

Update the test to address @mstorsjo's comments.

Jun 9 2022, 10:43 AM · Restricted Project, Restricted Project

Jun 8 2022

pzheng requested review of D127369: [Object][COFF] Fix section name parsing error when the name field is not null-padded.
Jun 8 2022, 6:27 PM · Restricted Project, Restricted Project