Page MenuHomePhabricator

usama54321 (Usama Hameed)
User

Projects

User does not belong to any projects.

User Details

User Since
Apr 5 2022, 1:29 PM (60 w, 23 h)

Recent Activity

Mon, May 22

usama54321 added a comment to D150298: [Sanitizers] Remove BuildId from sanitizers stacktrace on Darwin.

Apart from my other comment, if you want to go ahead I would suggest implementing this in a different way and only removing the MaybeBuildIdToBuffer from the implementation of 'L' in sanitizer_stacktrace_printer.cpp, then a) people can still manually get the build id if their format string uses %b, and b) the MaybeBuildIdToBuffer function doesn't unnecessarily not work on OS X, which is confusing.

I think these are good suggestions. How about combining this with Vitaly's suggestion for using a flag to only change this on Apple platforms (and to enable everyone to still get the current output)?

Just thought of an even more flexible approach. Make the frame format string a configuration option, so we can specify platform-dependent defaults, allow users to get current behavior (on Apple platforms), and give them the ability to fully customize if they desire.

static const char kDefaultFormat[] = "    #%n %p %F %L";

@vitalybuka @fmayer
What do you think?

The custom strings would involve splitting the %b from the %L and putting "%L %b" as the custom string, which would lead to an extraneous space if %b is empty. We could add the space as the first character of the %b, but that's kind of ugly.

Mon, May 22, 11:52 AM · Unknown Object (Project), Restricted Project

Thu, May 18

usama54321 updated the summary of D150298: [Sanitizers] Remove BuildId from sanitizers stacktrace on Darwin.
Thu, May 18, 1:19 PM · Unknown Object (Project), Restricted Project
usama54321 added a comment to D150298: [Sanitizers] Remove BuildId from sanitizers stacktrace on Darwin.

Can you please elaborate in the change description why "On Darwin, we do not want to show the BuildId appended at the end of stack
frames in Sanitizers."?

Thu, May 18, 1:14 PM · Unknown Object (Project), Restricted Project
usama54321 added a comment to D150298: [Sanitizers] Remove BuildId from sanitizers stacktrace on Darwin.

There is no change in UBSan.

Thu, May 18, 11:54 AM · Unknown Object (Project), Restricted Project
usama54321 updated the diff for D150298: [Sanitizers] Remove BuildId from sanitizers stacktrace on Darwin.

Feedback fixes

Thu, May 18, 11:53 AM · Unknown Object (Project), Restricted Project

Wed, May 10

usama54321 added a comment to D150298: [Sanitizers] Remove BuildId from sanitizers stacktrace on Darwin.

There are two more calls to MaybeBuildIdToBuffer in the switch statement. I did not guard them with !SANITIZER_APPLE because they do not affect the codepath on Darwin. If we want, I can also guard them with !SANITIZER_APPLE, or just guard the function implementation itself rather than the call sites.

Wed, May 10, 1:27 PM · Unknown Object (Project), Restricted Project
usama54321 added reviewers for D150298: [Sanitizers] Remove BuildId from sanitizers stacktrace on Darwin: yln, thetruestblue, wrotki, rsundahl, kubamracek.
Wed, May 10, 1:24 PM · Unknown Object (Project), Restricted Project
usama54321 requested review of D150298: [Sanitizers] Remove BuildId from sanitizers stacktrace on Darwin.
Wed, May 10, 1:23 PM · Unknown Object (Project), Restricted Project

Mar 10 2023

usama54321 added a reviewer for D144830: [asan darwin] Allow clients to implement `__sanitizer_report_error_summary`: usama54321.
Mar 10 2023, 7:23 AM · Restricted Project, Restricted Project, Unknown Object (Project)
usama54321 reopened D144830: [asan darwin] Allow clients to implement `__sanitizer_report_error_summary`.

This test is failing on ios arm64e. It seems like the function is not getting overridden on ios.

Mar 10 2023, 7:17 AM · Restricted Project, Restricted Project, Unknown Object (Project)

Mar 6 2023

usama54321 committed rG665e32ee0ffd: [Sanitizers] Error out for -static-libsan on darwin (authored by usama54321).
[Sanitizers] Error out for -static-libsan on darwin
Mar 6 2023, 3:10 AM · Unknown Object (Project), Restricted Project, Restricted Project
usama54321 closed D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.
Mar 6 2023, 3:09 AM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project
usama54321 accepted D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.
Mar 6 2023, 3:03 AM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project

Mar 3 2023

usama54321 added inline comments to D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.
Mar 3 2023, 10:33 AM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project
usama54321 added inline comments to D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.
Mar 3 2023, 4:24 AM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project

Mar 2 2023

usama54321 committed rGe277d6adf8c1: [Sanitizers] Disable armv7* sanitizers slice for ios (authored by usama54321).
[Sanitizers] Disable armv7* sanitizers slice for ios
Mar 2 2023, 8:09 AM · Unknown Object (Project), Restricted Project
usama54321 closed D145000: [Sanitizers] Disable armv7* sanitizers slice for ios.
Mar 2 2023, 8:09 AM · Restricted Project, Unknown Object (Project)
usama54321 updated the diff for D145000: [Sanitizers] Disable armv7* sanitizers slice for ios.

use filter instead of remove

Mar 2 2023, 8:06 AM · Restricted Project, Unknown Object (Project)
usama54321 added a reverting change for rG4e7d40e0928c: [Sanitizers] Error out for -static-libsan on darwin: rG6420daab19e8: Revert "[Sanitizers] Error out for -static-libsan on darwin".
Mar 2 2023, 6:50 AM · Restricted Project, Restricted Project
usama54321 committed rG6420daab19e8: Revert "[Sanitizers] Error out for -static-libsan on darwin" (authored by usama54321).
Revert "[Sanitizers] Error out for -static-libsan on darwin"
Mar 2 2023, 6:49 AM · Restricted Project, Restricted Project
usama54321 added a comment to D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.

I have reverted the commit for now

Mar 2 2023, 6:49 AM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project
usama54321 added a reverting change for D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin: rG6420daab19e8: Revert "[Sanitizers] Error out for -static-libsan on darwin".
Mar 2 2023, 6:49 AM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project

Mar 1 2023

usama54321 reopened D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.

@dmaclach Can you please take a look and fix this? Thanks

Mar 1 2023, 4:38 PM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project
usama54321 committed rG4e7d40e0928c: [Sanitizers] Error out for -static-libsan on darwin (authored by usama54321).
[Sanitizers] Error out for -static-libsan on darwin
Mar 1 2023, 11:07 AM · Restricted Project, Restricted Project
usama54321 closed D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.
Mar 1 2023, 11:07 AM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project

Feb 28 2023

usama54321 added inline comments to D145000: [Sanitizers] Disable armv7* sanitizers slice for ios.
Feb 28 2023, 1:42 PM · Restricted Project, Unknown Object (Project)
usama54321 updated the summary of D145000: [Sanitizers] Disable armv7* sanitizers slice for ios.
Feb 28 2023, 1:17 PM · Restricted Project, Unknown Object (Project)
usama54321 added reviewers for D145000: [Sanitizers] Disable armv7* sanitizers slice for ios: delcypher, thetruestblue, rsundahl, wrotki.
Feb 28 2023, 1:16 PM · Restricted Project, Unknown Object (Project)
usama54321 requested review of D145000: [Sanitizers] Disable armv7* sanitizers slice for ios.
Feb 28 2023, 1:16 PM · Restricted Project, Unknown Object (Project)
usama54321 accepted D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.

I was verifying that static versions of these libraries are not present on darwin. Sorry for the delay.

Feb 28 2023, 11:37 AM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project

Feb 24 2023

usama54321 requested changes to D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.

Sorry for this. I need to confirm that asan and tsan are not supported on darwin. Please don't merge until then. Thanks

Feb 24 2023, 11:22 AM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project
usama54321 accepted D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.
Feb 24 2023, 11:02 AM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project
usama54321 added a comment to D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.

LGTM

Feb 24 2023, 11:02 AM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project

Feb 23 2023

usama54321 added inline comments to D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.
Feb 23 2023, 2:32 PM · Restricted Project, Restricted Project, Unknown Object (Project), Restricted Project

Feb 1 2023

usama54321 committed rG57690a8ece9e: [Sanitizers] fix -fno-sanitize-link-runtime for darwin (authored by usama54321).
[Sanitizers] fix -fno-sanitize-link-runtime for darwin
Feb 1 2023, 11:08 AM · Restricted Project, Restricted Project
usama54321 closed D142421: [Sanitizers] fix -fno-sanitize-link-runtime for darwin.
Feb 1 2023, 11:08 AM · Restricted Project, Restricted Project

Jan 24 2023

usama54321 committed rG92b4946aa2f6: [CodeGen] bugfix: add REQUIRES target triple in test (authored by usama54321).
[CodeGen] bugfix: add REQUIRES target triple in test
Jan 24 2023, 4:28 PM · Restricted Project, Restricted Project
usama54321 committed rG2b02df781928: [ASan] Introduce a flag -asan-constructor-kind to control the generation of the… (authored by usama54321).
[ASan] Introduce a flag -asan-constructor-kind to control the generation of the…
Jan 24 2023, 3:38 PM · Restricted Project, Restricted Project
usama54321 closed D142505: [ASan] Introduce a flag -asan-constructor-kind to control the generation of the Asan module constructor..
Jan 24 2023, 3:37 PM · Restricted Project, Restricted Project
usama54321 committed rG5b6dbdecba0b: [CodeGen] bugfix: ApplyDebugLocation goes out of scope before intended (authored by usama54321).
[CodeGen] bugfix: ApplyDebugLocation goes out of scope before intended
Jan 24 2023, 3:33 PM · Restricted Project, Restricted Project
usama54321 closed D142243: [CodeGen] bugfix: ApplyDebugLocation goes out of scope before intended.
Jan 24 2023, 3:32 PM · Restricted Project, Restricted Project
usama54321 updated the diff for D142505: [ASan] Introduce a flag -asan-constructor-kind to control the generation of the Asan module constructor..

minor refactoring

Jan 24 2023, 3:10 PM · Restricted Project, Restricted Project
usama54321 updated the diff for D142505: [ASan] Introduce a flag -asan-constructor-kind to control the generation of the Asan module constructor..

fix typo

Jan 24 2023, 3:03 PM · Restricted Project, Restricted Project
usama54321 added inline comments to D142505: [ASan] Introduce a flag -asan-constructor-kind to control the generation of the Asan module constructor..
Jan 24 2023, 2:47 PM · Restricted Project, Restricted Project
usama54321 updated the diff for D142505: [ASan] Introduce a flag -asan-constructor-kind to control the generation of the Asan module constructor..

minor typo fix in comments

Jan 24 2023, 2:23 PM · Restricted Project, Restricted Project
usama54321 updated the diff for D142505: [ASan] Introduce a flag -asan-constructor-kind to control the generation of the Asan module constructor..

Minor bugfix

Jan 24 2023, 2:19 PM · Restricted Project, Restricted Project
usama54321 added reviewers for D142505: [ASan] Introduce a flag -asan-constructor-kind to control the generation of the Asan module constructor.: kcc, vitalybuka, eugenis.
Jan 24 2023, 2:15 PM · Restricted Project, Restricted Project
usama54321 published D142505: [ASan] Introduce a flag -asan-constructor-kind to control the generation of the Asan module constructor. for review.
Jan 24 2023, 2:05 PM · Restricted Project, Restricted Project

Jan 23 2023

usama54321 updated the summary of D142421: [Sanitizers] fix -fno-sanitize-link-runtime for darwin.
Jan 23 2023, 4:56 PM · Restricted Project, Restricted Project
usama54321 requested review of D142421: [Sanitizers] fix -fno-sanitize-link-runtime for darwin.
Jan 23 2023, 4:55 PM · Restricted Project, Restricted Project
usama54321 added a comment to D142243: [CodeGen] bugfix: ApplyDebugLocation goes out of scope before intended.

The libcxx test failure seems unrelated and seems to be failing on master
https://buildkite.com/llvm-project/libcxx-ci/builds?branch=master

Jan 23 2023, 11:27 AM · Restricted Project, Restricted Project

Jan 20 2023

usama54321 updated the diff for D142243: [CodeGen] bugfix: ApplyDebugLocation goes out of scope before intended.

Removing unnecessary code from test

Jan 20 2023, 12:53 PM · Restricted Project, Restricted Project
usama54321 updated the summary of D142243: [CodeGen] bugfix: ApplyDebugLocation goes out of scope before intended.
Jan 20 2023, 11:39 AM · Restricted Project, Restricted Project
usama54321 requested review of D142243: [CodeGen] bugfix: ApplyDebugLocation goes out of scope before intended.
Jan 20 2023, 11:39 AM · Restricted Project, Restricted Project

Jan 17 2023

usama54321 closed D141536: [CompilerRT] Remove sanitizer support for i386 iossim.

Closed by 4729f6e03a12b0f3613416dc6f65407afa7e8f19

Jan 17 2023, 3:03 PM · Restricted Project, Unknown Object (Project)
usama54321 committed rG4729f6e03a12: [CompilerRT] Remove sanitizer support for i386 iossim (authored by usama54321).
[CompilerRT] Remove sanitizer support for i386 iossim
Jan 17 2023, 2:37 PM · Unknown Object (Project), Restricted Project
usama54321 committed rGa44477b1f4b5: [CompilerRT] Remove ubsan static runtime on Apple (authored by usama54321).
[CompilerRT] Remove ubsan static runtime on Apple
Jan 17 2023, 2:34 PM · Unknown Object (Project), Restricted Project, Restricted Project
usama54321 closed D141550: [CompilerRT] Remove ubsan static runtime on Apple.
Jan 17 2023, 2:34 PM · Unknown Object (Project), Restricted Project, Restricted Project

Jan 11 2023

usama54321 added inline comments to D141550: [CompilerRT] Remove ubsan static runtime on Apple.
Jan 11 2023, 4:12 PM · Unknown Object (Project), Restricted Project, Restricted Project
usama54321 added inline comments to D141550: [CompilerRT] Remove ubsan static runtime on Apple.
Jan 11 2023, 3:59 PM · Unknown Object (Project), Restricted Project, Restricted Project
usama54321 updated the diff for D141550: [CompilerRT] Remove ubsan static runtime on Apple.

Addressing comments

Jan 11 2023, 3:58 PM · Unknown Object (Project), Restricted Project, Restricted Project
usama54321 added reviewers for D141550: [CompilerRT] Remove ubsan static runtime on Apple: delcypher, yln, jkorous, rsundahl, thetruestblue, wrotki.
Jan 11 2023, 3:19 PM · Unknown Object (Project), Restricted Project, Restricted Project
usama54321 requested review of D141550: [CompilerRT] Remove ubsan static runtime on Apple.
Jan 11 2023, 3:17 PM · Unknown Object (Project), Restricted Project, Restricted Project
usama54321 added a reviewer for D141536: [CompilerRT] Remove sanitizer support for i386 iossim: jkorous.
Jan 11 2023, 11:56 AM · Restricted Project, Unknown Object (Project)
usama54321 added reviewers for D141536: [CompilerRT] Remove sanitizer support for i386 iossim: delcypher, yln.
Jan 11 2023, 11:55 AM · Restricted Project, Unknown Object (Project)
usama54321 requested review of D141536: [CompilerRT] Remove sanitizer support for i386 iossim.
Jan 11 2023, 11:54 AM · Restricted Project, Unknown Object (Project)

Nov 17 2022

usama54321 committed rG7052164f98a3: [UBSan] Implementation NonUniqueARMRTTIBit __type_name has higher bits set on… (authored by usama54321).
[UBSan] Implementation NonUniqueARMRTTIBit __type_name has higher bits set on…
Nov 17 2022, 1:47 PM · Unknown Object (Project), Restricted Project
usama54321 closed D137518: Implementation NonUniqueARMRTTIBit __type_name has higher bits set on arm64.
Nov 17 2022, 1:47 PM · Restricted Project, Unknown Object (Project)

Nov 14 2022

usama54321 updated the summary of D137518: Implementation NonUniqueARMRTTIBit __type_name has higher bits set on arm64.
Nov 14 2022, 10:51 AM · Restricted Project, Unknown Object (Project)
usama54321 updated the summary of D137518: Implementation NonUniqueARMRTTIBit __type_name has higher bits set on arm64.
Nov 14 2022, 10:48 AM · Restricted Project, Unknown Object (Project)

Nov 11 2022

usama54321 accepted D137292: [lsan] Fix stack buffer overwrite in SuspendedThreadsListMac::GetRegistersAndSP.
Nov 11 2022, 2:34 PM · Unknown Object (Project), Restricted Project
usama54321 added a comment to D137292: [lsan] Fix stack buffer overwrite in SuspendedThreadsListMac::GetRegistersAndSP.

LGTM

Nov 11 2022, 2:32 PM · Unknown Object (Project), Restricted Project
usama54321 added inline comments to D137292: [lsan] Fix stack buffer overwrite in SuspendedThreadsListMac::GetRegistersAndSP.
Nov 11 2022, 2:31 PM · Unknown Object (Project), Restricted Project
usama54321 added a comment to D137292: [lsan] Fix stack buffer overwrite in SuspendedThreadsListMac::GetRegistersAndSP.

Added a minor comment below. Apart from that looks good to me

Nov 11 2022, 11:45 AM · Unknown Object (Project), Restricted Project

Nov 6 2022

usama54321 updated the diff for D137518: Implementation NonUniqueARMRTTIBit __type_name has higher bits set on arm64.

Fix commit message

Nov 6 2022, 5:45 PM · Restricted Project, Unknown Object (Project)
usama54321 added a reviewer for D137518: Implementation NonUniqueARMRTTIBit __type_name has higher bits set on arm64: ldionne.
Nov 6 2022, 5:38 PM · Restricted Project, Unknown Object (Project)
usama54321 requested review of D137518: Implementation NonUniqueARMRTTIBit __type_name has higher bits set on arm64.
Nov 6 2022, 5:37 PM · Restricted Project, Unknown Object (Project)

Jun 3 2022

Herald added a project to D95403: [clang-tidy][analyzer][WIP] Clang-tidy reverse integration into Static Analyzer.: Restricted Project.
Jun 3 2022, 1:16 PM · Restricted Project, Restricted Project

May 23 2022

usama54321 committed rGca81abcfd752: updated canResolveToExpr to accept both statements and expressions. Removed… (authored by usama54321).
updated canResolveToExpr to accept both statements and expressions. Removed…
May 23 2022, 8:20 PM · Restricted Project, Restricted Project
usama54321 committed rG63ecb7dcc80d: bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops (authored by usama54321).
bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops
May 23 2022, 8:20 PM · Restricted Project, Restricted Project, Restricted Project
usama54321 committed rG602682225ad6: bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops (authored by usama54321).
bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops
May 23 2022, 8:20 PM · Restricted Project, Restricted Project, Restricted Project
usama54321 closed D126246: bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops.
May 23 2022, 8:20 PM · Restricted Project, Restricted Project, Restricted Project
usama54321 closed D126034: [clang-tidy] bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops.
May 23 2022, 8:20 PM · Restricted Project, Restricted Project, Restricted Project
usama54321 updated the diff for D126034: [clang-tidy] bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops.
  • updated canResolveToExpr to accept both statements and expressions. Removed unnecessary code
May 23 2022, 4:06 PM · Restricted Project, Restricted Project, Restricted Project
usama54321 updated the diff for D126034: [clang-tidy] bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops.

Updating patch

May 23 2022, 3:21 PM · Restricted Project, Restricted Project, Restricted Project
usama54321 updated the diff for D126034: [clang-tidy] bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops.

Added a separate check for unevaluated statements. Updated InfiniteLoopCheck to use new check

May 23 2022, 2:54 PM · Restricted Project, Restricted Project, Restricted Project
usama54321 abandoned D126245: Added a separate check for unevaluated statements. Updated InfiniteLoopCheck to use new check.
May 23 2022, 2:53 PM · Restricted Project, Restricted Project, Restricted Project
usama54321 requested review of D126245: Added a separate check for unevaluated statements. Updated InfiniteLoopCheck to use new check.
May 23 2022, 2:52 PM · Restricted Project, Restricted Project, Restricted Project

May 19 2022

usama54321 added a reviewer for D126034: [clang-tidy] bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops: NoQ.
May 19 2022, 4:52 PM · Restricted Project, Restricted Project, Restricted Project
usama54321 requested review of D126034: [clang-tidy] bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops.
May 19 2022, 4:51 PM · Restricted Project, Restricted Project, Restricted Project

May 18 2022

usama54321 updated the diff for D125840: [Analyzer] Removed extra space from NSErrorChecker debug message and updated relevant tests.

Fixed clang-format issue

May 18 2022, 11:43 AM · Restricted Project, Restricted Project
usama54321 updated the diff for D125840: [Analyzer] Removed extra space from NSErrorChecker debug message and updated relevant tests.

Updated tests

May 18 2022, 10:49 AM · Restricted Project, Restricted Project

May 17 2022

usama54321 added a reviewer for D125840: [Analyzer] Removed extra space from NSErrorChecker debug message and updated relevant tests: NoQ.
May 17 2022, 3:48 PM · Restricted Project, Restricted Project
usama54321 requested review of D125840: [Analyzer] Removed extra space from NSErrorChecker debug message and updated relevant tests.
May 17 2022, 3:46 PM · Restricted Project, Restricted Project