Page MenuHomePhabricator

yln (Julian Lettner)
User

Projects

User does not belong to any projects.

User Details

User Since
Jan 21 2014, 12:56 PM (479 w, 4 h)

Recent Activity

Fri, Mar 24

yln added inline comments to D146745: [sanitizers] Explainer about dyld and weak overrides on Darwin..
Fri, Mar 24, 2:39 PM · Restricted Project, Restricted Project
yln committed rGbeafd235a743: [TSan] Refactor ExternalAccess() to avoid unnecessary pop/push tag [NFC] (authored by yln).
[TSan] Refactor ExternalAccess() to avoid unnecessary pop/push tag [NFC]
Fri, Mar 24, 11:18 AM · Restricted Project, Restricted Project
yln closed D146670: [TSan] Refactor ExternalAccess() to avoid unnecessary pop/push tag [NFC].
Fri, Mar 24, 11:17 AM · Restricted Project, Restricted Project
yln added a comment to D146670: [TSan] Refactor ExternalAccess() to avoid unnecessary pop/push tag [NFC].

The call that actually models the memory access always uses CALLERPC. Is this how it should be?

Fri, Mar 24, 11:12 AM · Restricted Project, Restricted Project
yln added a reviewer for D146745: [sanitizers] Explainer about dyld and weak overrides on Darwin.: dcoughlin.
Fri, Mar 24, 11:11 AM · Restricted Project, Restricted Project

Thu, Mar 23

yln added a comment to D146745: [sanitizers] Explainer about dyld and weak overrides on Darwin..

Thanks Roy! I put my suggestions, but none of them are blocking.

Thu, Mar 23, 12:12 PM · Restricted Project, Restricted Project
yln committed rG637048f122dc: [TSan][Darwin] Test fix external-swift-debugging.cpp (authored by yln).
[TSan][Darwin] Test fix external-swift-debugging.cpp
Thu, Mar 23, 11:28 AM · Restricted Project, Restricted Project

Wed, Mar 22

yln added a comment to D146670: [TSan] Refactor ExternalAccess() to avoid unnecessary pop/push tag [NFC].

This the follow-up I promised here:
https://reviews.llvm.org/D146264#4202953

Wed, Mar 22, 4:44 PM · Restricted Project, Restricted Project
yln retitled D146670: [TSan] Refactor ExternalAccess() to avoid unnecessary pop/push tag [NFC] from [TSan] Refactor ExternalAccess() to avoid unnecessary pop/push tag [NFC] r=dvyukov,kubamracek,wrotki to [TSan] Refactor ExternalAccess() to avoid unnecessary pop/push tag [NFC].
Wed, Mar 22, 4:38 PM · Restricted Project, Restricted Project
yln requested review of D146670: [TSan] Refactor ExternalAccess() to avoid unnecessary pop/push tag [NFC].
Wed, Mar 22, 4:37 PM · Restricted Project, Restricted Project
yln committed rG24e3102edb4a: [TSan] Avoid deadlock between ReportRace() and dlopen() interceptor (authored by yln).
[TSan] Avoid deadlock between ReportRace() and dlopen() interceptor
Wed, Mar 22, 11:11 AM · Restricted Project, Restricted Project
yln closed D146593: [TSan] Avoid deadlock between ReportRace() and dlopen() interceptor.
Wed, Mar 22, 11:11 AM · Restricted Project, Restricted Project
yln added a comment to D146593: [TSan] Avoid deadlock between ReportRace() and dlopen() interceptor.

Thanks for the quick reviews everyone! :)

Wed, Mar 22, 10:32 AM · Restricted Project, Restricted Project

Tue, Mar 21

yln added reviewers for D146593: [TSan] Avoid deadlock between ReportRace() and dlopen() interceptor: rsundahl, thetruestblue.
Tue, Mar 21, 4:24 PM · Restricted Project, Restricted Project
yln retitled D146593: [TSan] Avoid deadlock between ReportRace() and dlopen() interceptor from WIP: [TSan] Avoid deadlock between ReportRace() and dlopen() interceptor to [TSan] Avoid deadlock between ReportRace() and dlopen() interceptor.
Tue, Mar 21, 4:23 PM · Restricted Project, Restricted Project
yln requested review of D146593: [TSan] Avoid deadlock between ReportRace() and dlopen() interceptor.
Tue, Mar 21, 4:20 PM · Restricted Project, Restricted Project
yln accepted D146537: [TSAN][Darwin] Forward declare spinlock functions on darwin for TSAN interceptors.

LGTM, thanks!

Tue, Mar 21, 10:16 AM · Restricted Project, Restricted Project

Mon, Mar 20

yln added a reviewer for D146351: sanitizer_common: Use plain thread_local for __sancov_lowest_stack definition.: thetruestblue.

Hi, thanks Vitaly!

Mon, Mar 20, 12:19 PM · Restricted Project, Restricted Project

Fri, Mar 17

yln committed rG711ff37b554b: [TSan] Make sure we only collect non-TSan frames for memory operations… (authored by yln).
[TSan] Make sure we only collect non-TSan frames for memory operations…
Fri, Mar 17, 5:40 PM · Restricted Project, Restricted Project
yln closed D146264: [TSan] Make sure we only collect non-TSan frames for memory operations r=dvyukov,rsundahl,thetruestblue,wrotki,kubamracek!.
Fri, Mar 17, 5:40 PM · Restricted Project, Restricted Project
yln added inline comments to D146264: [TSan] Make sure we only collect non-TSan frames for memory operations r=dvyukov,rsundahl,thetruestblue,wrotki,kubamracek!.
Fri, Mar 17, 11:54 AM · Restricted Project, Restricted Project

Thu, Mar 16

yln added inline comments to D146264: [TSan] Make sure we only collect non-TSan frames for memory operations r=dvyukov,rsundahl,thetruestblue,wrotki,kubamracek!.
Thu, Mar 16, 4:24 PM · Restricted Project, Restricted Project
yln requested review of D146264: [TSan] Make sure we only collect non-TSan frames for memory operations r=dvyukov,rsundahl,thetruestblue,wrotki,kubamracek!.
Thu, Mar 16, 4:11 PM · Restricted Project, Restricted Project
yln accepted D146189: [fuzzer] Use puts() rather than printf() in CopyFileToErr().
Thu, Mar 16, 11:13 AM · Restricted Project, Restricted Project
yln added a comment to D146189: [fuzzer] Use puts() rather than printf() in CopyFileToErr().

LGTM, looks harmless enough!

Thu, Mar 16, 11:13 AM · Restricted Project, Restricted Project

Tue, Mar 14

yln committed rGe6a789ef9bb2: Remove -lower-global-dtors-via-cxa-atexit flag (authored by yln).
Remove -lower-global-dtors-via-cxa-atexit flag
Tue, Mar 14, 2:19 PM · Restricted Project, Restricted Project, Restricted Project
yln closed D145715: Remove -lower-global-dtors-via-cxa-atexit flag.
Tue, Mar 14, 2:18 PM · Restricted Project, Restricted Project, Restricted Project
yln added a comment to D145715: Remove -lower-global-dtors-via-cxa-atexit flag.

I will land this later today.

Tue, Mar 14, 1:41 PM · Restricted Project, Restricted Project, Restricted Project

Mon, Mar 13

yln added a comment to D145715: Remove -lower-global-dtors-via-cxa-atexit flag.

Mentioned removal of flag in release notes.

Mon, Mar 13, 4:58 PM · Restricted Project, Restricted Project, Restricted Project
yln updated the diff for D145715: Remove -lower-global-dtors-via-cxa-atexit flag.
Mon, Mar 13, 4:41 PM · Restricted Project, Restricted Project, Restricted Project

Thu, Mar 9

yln added inline comments to D145715: Remove -lower-global-dtors-via-cxa-atexit flag.
Thu, Mar 9, 1:41 PM · Restricted Project, Restricted Project, Restricted Project
yln retitled D145715: Remove -lower-global-dtors-via-cxa-atexit flag from Remove -lower-global-dtors-via-cxa-atexit to Remove -lower-global-dtors-via-cxa-atexit flag.
Thu, Mar 9, 11:34 AM · Restricted Project, Restricted Project, Restricted Project
yln requested review of D145715: Remove -lower-global-dtors-via-cxa-atexit flag.
Thu, Mar 9, 11:32 AM · Restricted Project, Restricted Project, Restricted Project

Fri, Mar 3

yln accepted D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.
Fri, Mar 3, 2:18 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
yln resigned from D86379: [sanitizer] When building tests on Darwin, always pass -arch and other common flags.
Fri, Mar 3, 9:34 AM · Restricted Project, Restricted Project
yln resigned from D85389: Fix bug where we request a shadow memory one page larger than necessary..
Fri, Mar 3, 9:34 AM · Restricted Project, Restricted Project
yln resigned from D85378: Fix off-by-one error in size of the required shadow memory passed to `MapDynamicShadow`..
Fri, Mar 3, 9:33 AM · Restricted Project, Restricted Project
yln added inline comments to D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.
Fri, Mar 3, 9:04 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Thu, Mar 2

yln added inline comments to D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.
Thu, Mar 2, 3:35 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
yln added inline comments to D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.
Thu, Mar 2, 3:03 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
yln accepted D144830: [asan darwin] Allow clients to implement `__sanitizer_report_error_summary`.

Okay, so dladdr() just takes an address and should always work irrespective if the function that lives at that address was exported etc., yes?

Thu, Mar 2, 2:59 PM · Restricted Project, Restricted Project, Restricted Project
yln requested changes to D144830: [asan darwin] Allow clients to implement `__sanitizer_report_error_summary`.
Thu, Mar 2, 11:20 AM · Restricted Project, Restricted Project, Restricted Project
yln added a comment to D144830: [asan darwin] Allow clients to implement `__sanitizer_report_error_summary`.

Taking a step back, please check my understanding:

Thu, Mar 2, 11:19 AM · Restricted Project, Restricted Project, Restricted Project

Tue, Feb 28

yln added a comment to D144830: [asan darwin] Allow clients to implement `__sanitizer_report_error_summary`.

[... ] __sanitizer_print_stack_trace? Seems like more stable bet.

Tue, Feb 28, 11:56 AM · Restricted Project, Restricted Project, Restricted Project

Mon, Feb 27

yln accepted D144830: [asan darwin] Allow clients to implement `__sanitizer_report_error_summary`.
Mon, Feb 27, 3:03 PM · Restricted Project, Restricted Project, Restricted Project
yln updated subscribers of D144830: [asan darwin] Allow clients to implement `__sanitizer_report_error_summary`.
Mon, Feb 27, 3:01 PM · Restricted Project, Restricted Project, Restricted Project
yln added a comment to D144830: [asan darwin] Allow clients to implement `__sanitizer_report_error_summary`.

Thank you @dmaclach!

Mon, Feb 27, 3:00 PM · Restricted Project, Restricted Project, Restricted Project
yln added inline comments to D129157: [Sanitizer][Darwin] Cleanup MaybeReexec() function and usage.
Mon, Feb 27, 2:51 PM · Restricted Project, Restricted Project

Feb 23 2023

yln added a reverting change for rGd8b8911d58db: Revert "[Darwin] Apply workaround to make symbolication in iOS simulators work": rG361bb473782b: Restore "[Darwin] Apply workaround to make symbolication in iOS simulators work".
Feb 23 2023, 11:31 PM · Restricted Project, Restricted Project
yln committed rG361bb473782b: Restore "[Darwin] Apply workaround to make symbolication in iOS simulators work" (authored by yln).
Restore "[Darwin] Apply workaround to make symbolication in iOS simulators work"
Feb 23 2023, 11:31 PM · Restricted Project, Restricted Project
yln added a reverting change for rGebd8eee62a43: [Darwin] Apply workaround to make symbolication in iOS simulators work: rGd8b8911d58db: Revert "[Darwin] Apply workaround to make symbolication in iOS simulators work".
Feb 23 2023, 6:14 PM
yln committed rGd8b8911d58db: Revert "[Darwin] Apply workaround to make symbolication in iOS simulators work" (authored by yln).
Revert "[Darwin] Apply workaround to make symbolication in iOS simulators work"
Feb 23 2023, 6:14 PM · Restricted Project, Restricted Project
yln added a comment to D144672: [Sanitizers] Error when attempting to use `static-lsan` with `TSan` or `Asan` on darwin.

Looks like this is a follow-up to D141550.

Feb 23 2023, 2:14 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Feb 13 2023

yln accepted D143959: Use modern @got syntax in tsan assembly, instead of old style non_lazy_ptr's. NFC.
Feb 13 2023, 4:55 PM · Restricted Project, Restricted Project
yln added inline comments to D143959: Use modern @got syntax in tsan assembly, instead of old style non_lazy_ptr's. NFC.
Feb 13 2023, 4:38 PM · Restricted Project, Restricted Project
yln added inline comments to D143959: Use modern @got syntax in tsan assembly, instead of old style non_lazy_ptr's. NFC.
Feb 13 2023, 4:32 PM · Restricted Project, Restricted Project
yln added reviewers for D143959: Use modern @got syntax in tsan assembly, instead of old style non_lazy_ptr's. NFC: wrotki, thetruestblue, rsundahl.
Feb 13 2023, 4:19 PM · Restricted Project, Restricted Project

Feb 8 2023

yln added reviewers for D143565: [Asan] Ensure unpoisonning doesn't get inlined unnecessarily due to small holes in the mask: rsundahl, wrotki, thetruestblue, usaari01.
Feb 8 2023, 10:08 AM · Restricted Project, Restricted Project, Restricted Project

Feb 7 2023

yln added a reviewer for D143519: [lit] [PATCH 2/2] Add "--reduced-xunit-report" option: jdenny.
Feb 7 2023, 3:44 PM · Restricted Project, Restricted Project
yln added inline comments to D143519: [lit] [PATCH 2/2] Add "--reduced-xunit-report" option.
Feb 7 2023, 3:44 PM · Restricted Project, Restricted Project
yln accepted D143516: [lit] [PATCH 1/2] Specify a common interface in a common base class for all report types.
  • 1 whitespace nit
  • abc package available everywhere? If not, can we do without?
Feb 7 2023, 3:42 PM · Restricted Project, Restricted Project
yln updated subscribers of D143519: [lit] [PATCH 2/2] Add "--reduced-xunit-report" option.

Initially, my main question was: would this functionality make sense for reports other than the xml one too? Probably not, because the use case is pretty specific, right? Anyways, I don't think we need to implement that now and leave that work to whoever needs it.

Feb 7 2023, 3:31 PM · Restricted Project, Restricted Project

Feb 6 2023

yln added a comment to D142164: [Sanitizers] Fix read buffer overrun in scanning loader commands.

Thanks everyone for pointing out the build failures on Linux and reverting the change.

Feb 6 2023, 7:41 PM · Restricted Project, Restricted Project

Jan 27 2023

yln accepted D142164: [Sanitizers] Fix read buffer overrun in scanning loader commands.

LGTM, with a few small nits. Thanks Mariusz!

Jan 27 2023, 1:18 PM · Restricted Project, Restricted Project

Jan 26 2023

yln added a comment to D142421: [Sanitizers] fix -fno-sanitize-link-runtime for darwin.

Looks harmless enough, even though I am not sure why we have a completely separate code path on Darwin. The other toolchain driver seem to have shared code for this in clang/lib/Driver/ToolChains/CommonArgs.cpp.

Jan 26 2023, 3:32 PM · Restricted Project, Restricted Project
yln accepted D142421: [Sanitizers] fix -fno-sanitize-link-runtime for darwin.
Jan 26 2023, 3:29 PM · Restricted Project, Restricted Project

Jan 24 2023

yln accepted D142505: [ASan] Introduce a flag -asan-constructor-kind to control the generation of the Asan module constructor..
Jan 24 2023, 3:32 PM · Restricted Project, Restricted Project

Jan 17 2023

yln accepted D141007: [lit] Stop supporting triple substrings in UNSUPPORTED and XFAIL.
Jan 17 2023, 11:18 AM · Restricted Project, Restricted Project
yln added a comment to D141007: [lit] Stop supporting triple substrings in UNSUPPORTED and XFAIL.

Thanks so much for this effort and seeing it through! I think this materially improves LIT feature handling and reduces confusion.

Jan 17 2023, 11:12 AM · Restricted Project, Restricted Project

Jan 11 2023

yln added reviewers for D141536: [CompilerRT] Remove sanitizer support for i386 iossim: rsundahl, thetruestblue, wrotki.
Jan 11 2023, 12:54 PM · Restricted Project, Restricted Project
yln accepted D141536: [CompilerRT] Remove sanitizer support for i386 iossim.

Looks harmless enough.

Jan 11 2023, 12:52 PM · Restricted Project, Restricted Project
yln accepted D141171: [Sanitizer] Clean up SANITIZER_CAN_USE_ALLOCATOR64 logic.

Thanks Blue!

Jan 11 2023, 11:38 AM · Restricted Project, Restricted Project

Jan 10 2023

yln added a comment to D141171: [Sanitizer] Clean up SANITIZER_CAN_USE_ALLOCATOR64 logic.

If we are not doing the optional cleanup, then I think I would prefer this:

#  if (SANITIZER_ANDROID && defined(__aarch64__)) || SANITIZER_FUCHSIA
#    define SANITIZER_CAN_USE_ALLOCATOR64 1
# elif defined(__mips64) || defined(__arm__) || defined(__i386__) || \
      SANITIZER_RISCV64 || defined(__hexagon__) || SANITIZER_IOS
#    define SANITIZER_CAN_USE_ALLOCATOR64 0
#  else
Jan 10 2023, 9:59 AM · Restricted Project, Restricted Project

Jan 9 2023

yln requested changes to D141171: [Sanitizer] Clean up SANITIZER_CAN_USE_ALLOCATOR64 logic.

I think we can drop && !defined(SANITIZER_APPLE) altogether and let the "default" (last else) case handle things. It definitely doesn't make sense in it's current form: && takes precedence so the code is currently saying: xxx || (hexagon && !apple)

Jan 9 2023, 4:51 PM · Restricted Project, Restricted Project

Dec 22 2022

yln added a comment to D140353: [Sanitizer] Fix page alignment for mmap calls.

@wrotki: you touched similar code recently. Can you do a post-merge review to convince yourself that this is doing the right thing? Thanks!

Dec 22 2022, 3:39 PM · Restricted Project, Restricted Project
yln accepted D140567: [Sanitizers] Fix procmap tests for apple arm64.
Dec 22 2022, 3:37 PM · Restricted Project, Restricted Project

Dec 8 2022

yln accepted D139652: Add the thread sanitizer support for X86_64 WatchOS simulators.

Thank you! LGTM, with one nit.

Dec 8 2022, 4:09 PM · Restricted Project, Restricted Project

Nov 30 2022

yln accepted D139030: [asan][aarch64] Don't use 64 bit allocator for Apple ios family.

The change as I originally made it was to use the 32 bit allocator in all of the cases that it had been used in up until things broke. I was conservative and explicit about enabling the 64 bit allocator for macOS because I tested it and it worked. The reviews here tell me that we want to go further but have questions so I'm going to revert to the original behavior of using the 32 bit allocator for SANITIZER_APPLE on aarch64.

Nov 30 2022, 1:12 PM · Restricted Project, Restricted Project
yln added inline comments to D139030: [asan][aarch64] Don't use 64 bit allocator for Apple ios family.
Nov 30 2022, 11:33 AM · Restricted Project, Restricted Project
yln added a comment to D139030: [asan][aarch64] Don't use 64 bit allocator for Apple ios family.

Can we not do (SANITIZER_APPLE && SANITIZER_IOS) ?

I didn't want to depend on the overloading of SANITIZER_IOS which means both actual iOS and similar to iOS, so I chose to come at the logic the way I did.

Nov 30 2022, 11:10 AM · Restricted Project, Restricted Project
yln added inline comments to D139030: [asan][aarch64] Don't use 64 bit allocator for Apple ios family.
Nov 30 2022, 11:09 AM · Restricted Project, Restricted Project

Nov 28 2022

yln accepted D138824: [asan][test] Fix SED issues with macOS (BSD).

LGTM & thanks from my side!

Nov 28 2022, 10:14 AM · Restricted Project, Restricted Project

Nov 7 2022

yln accepted D137484: [Test] Fix driverkit-path.c with lib64 dir.

Looks harmless enough.. LGTM!

Nov 7 2022, 2:23 PM · Restricted Project, Restricted Project

Nov 2 2022

yln committed rGea82ddd070b7: [TSan] Adjust `TSAN_RTL_CFLAGS` before it gets copied (authored by yln).
[TSan] Adjust `TSAN_RTL_CFLAGS` before it gets copied
Nov 2 2022, 11:22 AM · Restricted Project, Restricted Project
yln closed D137183: [TSan] Adjust `TSAN_RTL_CFLAGS` before it gets copied.
Nov 2 2022, 11:22 AM · Restricted Project, Restricted Project

Nov 1 2022

yln requested review of D137183: [TSan] Adjust `TSAN_RTL_CFLAGS` before it gets copied.
Nov 1 2022, 11:49 AM · Restricted Project, Restricted Project

Oct 14 2022

yln added a comment to D134109: [Sanitizers] intercept memset_pattern macOs api.

Can you give an explanation of the scenario (false positive, false negative?) which this patch fixes. Please put this information also in the commit message.

Oct 14 2022, 10:58 AM · Restricted Project, Restricted Project

Oct 6 2022

yln committed rG97aee595bf81: [Sanitizer] Fix compile errors in rtl-old/tsan_rtl.cpp (authored by yln).
[Sanitizer] Fix compile errors in rtl-old/tsan_rtl.cpp
Oct 6 2022, 12:29 PM · Restricted Project, Restricted Project
yln closed D134389: [Sanitizer] Fixup for ca50840b5bc0.
Oct 6 2022, 12:29 PM · Restricted Project, Restricted Project
yln added a comment to D134389: [Sanitizer] Fixup for ca50840b5bc0.

@lechenyu: do you mind signing off on this?

Oct 6 2022, 10:58 AM · Restricted Project, Restricted Project
yln added a reviewer for D134389: [Sanitizer] Fixup for ca50840b5bc0: lechenyu.
Oct 6 2022, 10:58 AM · Restricted Project, Restricted Project

Oct 4 2022

yln accepted D134836: [Sanitizers][Darwin] Fix invalid gap found by FindAvailableMemoryRange.

LGTM, thanks for seeing this through @wrotki!

Oct 4 2022, 11:27 AM · Restricted Project, Restricted Project

Sep 23 2022

yln added a comment to D134389: [Sanitizer] Fixup for ca50840b5bc0.

H @lechenyu, thanks for helping out! :)

Sep 23 2022, 4:08 PM · Restricted Project, Restricted Project
yln updated the diff for D134389: [Sanitizer] Fixup for ca50840b5bc0.

Add include

Sep 23 2022, 4:04 PM · Restricted Project, Restricted Project
yln added a reviewer for D134389: [Sanitizer] Fixup for ca50840b5bc0: thakis.
Sep 23 2022, 12:22 PM · Restricted Project, Restricted Project

Sep 22 2022

yln added a comment to D134389: [Sanitizer] Fixup for ca50840b5bc0.

@protze.joachim does this fix the error you see?

Sep 22 2022, 10:59 AM · Restricted Project, Restricted Project

Sep 21 2022

yln edited reviewers for D134389: [Sanitizer] Fixup for ca50840b5bc0, added: dvyukov; removed: vitalybuka.
Sep 21 2022, 2:45 PM · Restricted Project, Restricted Project
yln updated subscribers of D129157: [Sanitizer][Darwin] Cleanup MaybeReexec() function and usage.

This change bricks the old tsan runtime. Should we remove the call from rtl-old as well? Or is rtl-old not maintained at all?

Sep 21 2022, 2:44 PM · Restricted Project, Restricted Project
yln requested review of D134389: [Sanitizer] Fixup for ca50840b5bc0.
Sep 21 2022, 2:41 PM · Restricted Project, Restricted Project

Sep 19 2022

yln accepted D134091: [Sanitizer] Bump macOS deployment target for sanitizer unit test binary to support C++17 requirements..

LGTM, with nits:

Sep 19 2022, 10:07 AM · Restricted Project, Restricted Project