Page MenuHomePhabricator

jansvoboda11 (Jan Svoboda)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 4 2020, 4:28 AM (128 w, 6 d)

Working on implicitly discovered, explicitly built Clang modules at Apple.

Recent Activity

Mon, Mar 20

jansvoboda11 committed rGd1e00b6f136e: [clang][deps] Only cache files with specific extension (authored by jansvoboda11).
[clang][deps] Only cache files with specific extension
Mon, Mar 20, 11:13 AM · Restricted Project, Restricted Project
jansvoboda11 closed D146328: [clang][deps] Only cache files with specific extension.
Mon, Mar 20, 11:12 AM · Restricted Project, Restricted Project

Fri, Mar 17

jansvoboda11 updated the diff for D146328: [clang][deps] Only cache files with specific extension.

Improve member documentation

Fri, Mar 17, 5:17 PM · Restricted Project, Restricted Project
jansvoboda11 updated the diff for D146328: [clang][deps] Only cache files with specific extension.

Disable brace initialization

Fri, Mar 17, 5:16 PM · Restricted Project, Restricted Project
jansvoboda11 updated the diff for D146328: [clang][deps] Only cache files with specific extension.

Use brace initialization in named constructors

Fri, Mar 17, 5:14 PM · Restricted Project, Restricted Project
jansvoboda11 updated the diff for D146328: [clang][deps] Only cache files with specific extension.

Use named constructors instead of an argument to PathPolicy, add unit tests.

Fri, Mar 17, 5:09 PM · Restricted Project, Restricted Project
jansvoboda11 updated the diff for D146328: [clang][deps] Only cache files with specific extension.

Remove configurable CacheSuccess, rename CacheFailure to CacheStatFailure.

Fri, Mar 17, 3:08 PM · Restricted Project, Restricted Project
jansvoboda11 requested review of D146328: [clang][deps] Only cache files with specific extension.
Fri, Mar 17, 1:19 PM · Restricted Project, Restricted Project

Mon, Mar 13

jansvoboda11 accepted D145838: [clang][deps] Handle response files in dep scanner.

LGTM, nice.

Mon, Mar 13, 10:51 AM · Restricted Project, Restricted Project

Mon, Mar 6

jansvoboda11 committed rGc4de9b9c021d: [clang][deps] Un-XFAIL test on AIX (authored by jansvoboda11).
[clang][deps] Un-XFAIL test on AIX
Mon, Mar 6, 10:58 AM · Restricted Project, Restricted Project

Fri, Mar 3

jansvoboda11 accepted D145256: [clang/Diagnostic] Use `optional` to disambiguate between a `StoredDiagMessage` that is not set vs set as empty string.

LGTM

Fri, Mar 3, 11:20 AM · Restricted Project, Restricted Project
jansvoboda11 added a comment to D145098: [clang][deps] Preserve input ordering in the full output.
Fri, Mar 3, 10:23 AM · Restricted Project, Restricted Project
jansvoboda11 committed rG3ac8d322100b: [clang][deps] Fix test failing on AIX (authored by jansvoboda11).
[clang][deps] Fix test failing on AIX
Fri, Mar 3, 10:23 AM · Restricted Project, Restricted Project

Thu, Mar 2

jansvoboda11 requested review of D145197: [clang][deps] NFC: Refactor and comment ModuleDeps sorting.
Thu, Mar 2, 3:01 PM · Restricted Project, Restricted Project
jansvoboda11 committed rG9679075a1ae6: [clang][deps] NFC: Simplify worker loop (authored by jansvoboda11).
[clang][deps] NFC: Simplify worker loop
Thu, Mar 2, 1:50 PM · Restricted Project, Restricted Project
jansvoboda11 closed D145101: [clang][deps] NFC: Simplify worker loop.
Thu, Mar 2, 1:50 PM · Restricted Project, Restricted Project
jansvoboda11 committed rG864054500830: [clang][deps] Preserve input ordering in the full output (authored by jansvoboda11).
[clang][deps] Preserve input ordering in the full output
Thu, Mar 2, 1:42 PM · Restricted Project, Restricted Project
jansvoboda11 closed D145098: [clang][deps] Preserve input ordering in the full output.
Thu, Mar 2, 1:42 PM · Restricted Project, Restricted Project

Wed, Mar 1

jansvoboda11 added inline comments to D145101: [clang][deps] NFC: Simplify worker loop.
Wed, Mar 1, 12:47 PM · Restricted Project, Restricted Project
jansvoboda11 added inline comments to D145098: [clang][deps] Preserve input ordering in the full output.
Wed, Mar 1, 12:04 PM · Restricted Project, Restricted Project
jansvoboda11 updated the diff for D145098: [clang][deps] Preserve input ordering in the full output.

Add asserts, make FullDeps take NumInputs in the constructor.

Wed, Mar 1, 12:02 PM · Restricted Project, Restricted Project
jansvoboda11 requested review of D145101: [clang][deps] NFC: Simplify worker loop.
Wed, Mar 1, 11:53 AM · Restricted Project, Restricted Project
jansvoboda11 requested review of D145098: [clang][deps] Preserve input ordering in the full output.
Wed, Mar 1, 11:37 AM · Restricted Project, Restricted Project

Feb 15 2023

jansvoboda11 accepted D144058: [clang][deps] Split lookupModuleOutput out of DependencyConsumer NFC.
Feb 15 2023, 12:53 PM · Restricted Project, Restricted Project

Feb 14 2023

jansvoboda11 added inline comments to D144058: [clang][deps] Split lookupModuleOutput out of DependencyConsumer NFC.
Feb 14 2023, 4:37 PM · Restricted Project, Restricted Project

Feb 9 2023

jansvoboda11 added a comment to D143613: [clang][deps] Migrate ModuleDepCollector to LexedFileChanged NFCI.

LGTM, but would be nice to have a test for this.

Oh, I didn't realize we didn't have one already. Added.

Feb 9 2023, 10:44 AM · Restricted Project, Restricted Project
jansvoboda11 accepted D143613: [clang][deps] Migrate ModuleDepCollector to LexedFileChanged NFCI.

LGTM, but would be nice to have a test for this.

Feb 9 2023, 9:56 AM · Restricted Project, Restricted Project

Feb 8 2023

jansvoboda11 committed rG29b95f05738f: [clang][deps] NFC: Refactor inferred modules test (authored by jansvoboda11).
[clang][deps] NFC: Refactor inferred modules test
Feb 8 2023, 4:58 PM · Restricted Project, Restricted Project
jansvoboda11 closed D143615: [clang][deps] NFC: Refactor inferred modules test.
Feb 8 2023, 4:58 PM · Restricted Project, Restricted Project
jansvoboda11 added inline comments to D143615: [clang][deps] NFC: Refactor inferred modules test.
Feb 8 2023, 4:48 PM · Restricted Project, Restricted Project
jansvoboda11 updated the diff for D143615: [clang][deps] NFC: Refactor inferred modules test.

Remove unused CDB file

Feb 8 2023, 4:28 PM · Restricted Project, Restricted Project
jansvoboda11 requested review of D143615: [clang][deps] NFC: Refactor inferred modules test.
Feb 8 2023, 4:21 PM · Restricted Project, Restricted Project
jansvoboda11 committed rGea2c144e85c7: [clang][cli] Simplify repetitive macro invocations (authored by jansvoboda11).
[clang][cli] Simplify repetitive macro invocations
Feb 8 2023, 2:54 PM · Restricted Project, Restricted Project
jansvoboda11 added a reverting change for rG16e1a49441c5: Revert "[cmake][msvc] Enable standards-conforming preprocessor": rG401dee445196: Reapply "[cmake][msvc] Enable standards-conforming preprocessor".
Feb 8 2023, 1:48 PM · Restricted Project, Restricted Project
jansvoboda11 committed rG401dee445196: Reapply "[cmake][msvc] Enable standards-conforming preprocessor" (authored by jansvoboda11).
Reapply "[cmake][msvc] Enable standards-conforming preprocessor"
Feb 8 2023, 1:48 PM · Restricted Project, Restricted Project
jansvoboda11 accepted D143446: [clang][deps] Ensure module invocation can be serialized.

LGTM, thanks!

Feb 8 2023, 1:44 PM · Restricted Project, Restricted Project
jansvoboda11 added a comment to D143446: [clang][deps] Ensure module invocation can be serialized.

Having this check is great! Left some nits in-line.

Feb 8 2023, 11:39 AM · Restricted Project, Restricted Project

Feb 7 2023

jansvoboda11 abandoned D142780: [clang] NFCI: Use FileEntryRef in FileManager's UID mapping.
Feb 7 2023, 10:03 AM · Restricted Project, Restricted Project
jansvoboda11 committed rG5e14a48463b4: [clang] NFC: Remove GCC 5.1 workaround in FileEntry (authored by jansvoboda11).
[clang] NFC: Remove GCC 5.1 workaround in FileEntry
Feb 7 2023, 9:28 AM · Restricted Project, Restricted Project
jansvoboda11 committed rG152f2914607f: [clang][deps] Fix race condition (authored by jansvoboda11).
[clang][deps] Fix race condition
Feb 7 2023, 9:28 AM · Restricted Project, Restricted Project
jansvoboda11 closed D143427: [clang] NFC: Remove GCC 5.1 workaround in FileEntry.
Feb 7 2023, 9:27 AM · Restricted Project, Restricted Project
jansvoboda11 closed D143428: [clang][deps] Fix race condition.
Feb 7 2023, 9:27 AM · Restricted Project, Restricted Project

Feb 6 2023

jansvoboda11 added inline comments to D143414: [clang] refactor FileManager::GetUniqueIDMapping.
Feb 6 2023, 5:14 PM · Restricted Project, Restricted Project
jansvoboda11 added inline comments to D143414: [clang] refactor FileManager::GetUniqueIDMapping.
Feb 6 2023, 5:13 PM · Restricted Project, Restricted Project
jansvoboda11 added a comment to D135128: [clang][cli] Simplify repetitive macro invocations.

Thanks for the reminder!

I spent some time looking for a combination of VS + Win 10 SDK that would work with the new flag, and I believe I've found (at least one). It looks like versions of the Win 10 SDK prior to 20348 do not work, but 20348 works fine in local testing with the latest versions of VS 2019 -- some newer versions of VS have a crash in some of the mlir tests, so I needed to find the right version there too.

Long story short, I believe VS 2019 16.11.23 with Win 10 SDK 10.0.20348.0 should work fine based on some local tests. I've updated the bot to these versions and I'd like to give it a day or so to make sure something else didn't break. After that, the new flag should work.

Feb 6 2023, 5:12 PM · Restricted Project, Restricted Project, Restricted Project
jansvoboda11 committed rW9afb87f0cc05: [gsoc2023] Add Clang modules build daemon project (authored by jansvoboda11).
[gsoc2023] Add Clang modules build daemon project
Feb 6 2023, 4:25 PM · Restricted Project
jansvoboda11 added a comment to D135128: [clang][cli] Simplify repetitive macro invocations.

@stella.stamenova ping

Feb 6 2023, 11:45 AM · Restricted Project, Restricted Project, Restricted Project
jansvoboda11 requested review of D143428: [clang][deps] Fix race condition.
Feb 6 2023, 11:41 AM · Restricted Project, Restricted Project
jansvoboda11 requested review of D143427: [clang] NFC: Remove GCC 5.1 workaround in FileEntry.
Feb 6 2023, 11:40 AM · Restricted Project, Restricted Project
jansvoboda11 added inline comments to D143414: [clang] refactor FileManager::GetUniqueIDMapping.
Feb 6 2023, 11:02 AM · Restricted Project, Restricted Project
jansvoboda11 added a comment to D143414: [clang] refactor FileManager::GetUniqueIDMapping.

In general, I think this approach makes sense.

Feb 6 2023, 10:18 AM · Restricted Project, Restricted Project
jansvoboda11 added inline comments to D143414: [clang] refactor FileManager::GetUniqueIDMapping.
Feb 6 2023, 10:09 AM · Restricted Project, Restricted Project

Feb 1 2023

jansvoboda11 accepted D143040: [Clang][DependencyScanner] Remove secondary actions from -cc1.

LGTM

Feb 1 2023, 2:05 PM · Restricted Project, Restricted Project
jansvoboda11 committed rG06be346311b9: [Clang] avoid relying on StringMap iteration order when roundtripping -analyzer… (authored by erikdesjardins).
[Clang] avoid relying on StringMap iteration order when roundtripping -analyzer…
Feb 1 2023, 1:54 PM · Restricted Project, Restricted Project
jansvoboda11 closed D142861: [Clang] avoid relying on StringMap iteration order when roundtripping -analyzer-config.
Feb 1 2023, 1:54 PM · Restricted Project, Restricted Project
jansvoboda11 committed rG8e9f62e5f833: [clang][deps] Give the fake file a unique name in by-module-name scans (authored by jansvoboda11).
[clang][deps] Give the fake file a unique name in by-module-name scans
Feb 1 2023, 1:47 PM · Restricted Project, Restricted Project
jansvoboda11 committed rGba556660fe52: [clang][deps] NFC: Split out the module-based API from the TU-based API (authored by jansvoboda11).
[clang][deps] NFC: Split out the module-based API from the TU-based API
Feb 1 2023, 1:47 PM · Restricted Project, Restricted Project
jansvoboda11 committed rGe60fcfd6e568: [clang][deps] Remove support for the deprecated driver API (authored by jansvoboda11).
[clang][deps] Remove support for the deprecated driver API
Feb 1 2023, 1:46 PM · Restricted Project, Restricted Project
jansvoboda11 closed D140177: [clang][deps] Give the fake file a unique name in by-module-name scans.
Feb 1 2023, 1:46 PM · Restricted Project, Restricted Project
jansvoboda11 closed D140176: [clang][deps] NFC: Split out the module-based API from the TU-based API.
Feb 1 2023, 1:46 PM · Restricted Project, Restricted Project
jansvoboda11 closed D140175: [clang][deps] Remove support for the deprecated driver API.
Feb 1 2023, 1:46 PM · Restricted Project, Restricted Project

Jan 31 2023

jansvoboda11 accepted D143027: [clang][deps] Fix module context hash for constant strings.

LGTM

Jan 31 2023, 4:03 PM · Restricted Project, Restricted Project

Jan 30 2023

jansvoboda11 accepted D142861: [Clang] avoid relying on StringMap iteration order when roundtripping -analyzer-config.
Jan 30 2023, 9:13 AM · Restricted Project, Restricted Project
jansvoboda11 added a comment to D142861: [Clang] avoid relying on StringMap iteration order when roundtripping -analyzer-config.

Thanks for the patch. Left a couple of small suggestions.

Jan 30 2023, 9:08 AM · Restricted Project, Restricted Project

Jan 27 2023

jansvoboda11 added a comment to D142780: [clang] NFCI: Use FileEntryRef in FileManager's UID mapping.

Sounds like the easies way out is serializing all FileEntryRef objects we know in deterministic order.

Jan 27 2023, 2:16 PM · Restricted Project, Restricted Project
jansvoboda11 added inline comments to D142724: [clang] use FileEntryRef for SUBMODULE_TOPHEADER.
Jan 27 2023, 12:08 PM · Restricted Project, Restricted Project
jansvoboda11 requested review of D142780: [clang] NFCI: Use FileEntryRef in FileManager's UID mapping.
Jan 27 2023, 12:08 PM · Restricted Project, Restricted Project
jansvoboda11 added inline comments to D142724: [clang] use FileEntryRef for SUBMODULE_TOPHEADER.
Jan 27 2023, 9:16 AM · Restricted Project, Restricted Project

Jan 24 2023

jansvoboda11 accepted D142501: [clang][deps] Fix modulemap file path for implementation of module.

LGTM.

Jan 24 2023, 1:13 PM · Restricted Project, Restricted Project
jansvoboda11 added inline comments to D142501: [clang][deps] Fix modulemap file path for implementation of module.
Jan 24 2023, 1:01 PM · Restricted Project, Restricted Project
jansvoboda11 committed rGbeebad9a9b23: [clang][deps] NFC: Remove dead code (authored by jansvoboda11).
[clang][deps] NFC: Remove dead code
Jan 24 2023, 9:50 AM · Restricted Project, Restricted Project
jansvoboda11 closed D142416: [clang][deps] NFC: Remove dead code.
Jan 24 2023, 9:50 AM · Restricted Project, Restricted Project
jansvoboda11 committed rG96a54b2258cd: [clang][deps] Account for transitive spurious dependencies (authored by jansvoboda11).
[clang][deps] Account for transitive spurious dependencies
Jan 24 2023, 9:49 AM · Restricted Project, Restricted Project
jansvoboda11 closed D142165: [clang][deps] Account for transitive spurious dependencies.
Jan 24 2023, 9:49 AM · Restricted Project, Restricted Project
jansvoboda11 updated the summary of D142165: [clang][deps] Account for transitive spurious dependencies.
Jan 24 2023, 9:48 AM · Restricted Project, Restricted Project
jansvoboda11 added a comment to D142196: [clang][Lex] Add back PPCallbacks::FileNotFound.

Yes, I meant the pp-trace docs. Why would "we didn't find the included file" not be a traceable event?

Jan 24 2023, 9:41 AM · Restricted Project, Restricted Project

Jan 23 2023

jansvoboda11 added inline comments to D142416: [clang][deps] NFC: Remove dead code.
Jan 23 2023, 4:57 PM · Restricted Project, Restricted Project
jansvoboda11 requested review of D142416: [clang][deps] NFC: Remove dead code.
Jan 23 2023, 4:17 PM · Restricted Project, Restricted Project
jansvoboda11 accepted D142392: [clang][deps] Add module files for input dependencies earlier.

LGTM.

Jan 23 2023, 3:35 PM · Restricted Project, Restricted Project
jansvoboda11 added a comment to D142196: [clang][Lex] Add back PPCallbacks::FileNotFound.

Also I think we should mention this API in our docs, right where the removed original used to be.

Jan 23 2023, 10:23 AM · Restricted Project, Restricted Project
jansvoboda11 accepted D142196: [clang][Lex] Add back PPCallbacks::FileNotFound.

LGTM with improved wording.

Jan 23 2023, 10:21 AM · Restricted Project, Restricted Project

Jan 20 2023

jansvoboda11 committed rGc3efd52770ca: [clang][modules] Disallow importing private framework in the implementation (authored by jansvoboda11).
[clang][modules] Disallow importing private framework in the implementation
Jan 20 2023, 1:38 PM · Restricted Project, Restricted Project
jansvoboda11 closed D142167: [clang][modules] Disallow importing private framework in the implementation.
Jan 20 2023, 1:38 PM · Restricted Project, Restricted Project
jansvoboda11 updated the diff for D142165: [clang][deps] Account for transitive spurious dependencies.

Fix test on Windows

Jan 20 2023, 1:35 PM · Restricted Project, Restricted Project
jansvoboda11 added a comment to D142196: [clang][Lex] Add back PPCallbacks::FileNotFound.

I just checked and this "simplified" version of the callback would give us enough information to implement all we need in ROOT (plus some, the bool return value is nicer than temporarily playing with SuppressIncludeNotFoundError). For an upstream test, I could implement a unit test in clang/unittests/Lex/PPCallbacksTest.cpp or a "toy" tooling where #include <file.h?> is ignored if file.h doesn't exist? What do you think (assuming the general idea of adding this callback is fine)?

Jan 20 2023, 11:25 AM · Restricted Project, Restricted Project
jansvoboda11 accepted D139168: [C++20] [Modules] [ClangScanDeps] Enable to print make-style dependency file within P1689 format (4/4).

LGTM.

Jan 20 2023, 11:24 AM · Restricted Project, Restricted Project
jansvoboda11 accepted D137534: [C++20] [Modules] [ClangScanDeps] Allow clang-scan-deps to without specified compilation database in P1689 (3/4).

LGTM.

Jan 20 2023, 11:22 AM · Restricted Project, Restricted Project
jansvoboda11 accepted D137527: [C++20] [Modules] [ClangScanDeps] Add ClangScanDeps support for C++20 Named Modules in P1689 format (2/4).

LGTM provided my comments get resolved, but I want @Bigcheese to look over this patch too.

Jan 20 2023, 11:19 AM · Restricted Project, Restricted Project

Jan 19 2023

jansvoboda11 added inline comments to D142167: [clang][modules] Disallow importing private framework in the implementation.
Jan 19 2023, 5:04 PM · Restricted Project, Restricted Project
jansvoboda11 requested review of D142167: [clang][modules] Disallow importing private framework in the implementation.
Jan 19 2023, 5:03 PM · Restricted Project, Restricted Project
jansvoboda11 requested review of D142165: [clang][deps] Account for transitive spurious dependencies.
Jan 19 2023, 4:05 PM · Restricted Project, Restricted Project
jansvoboda11 accepted D142113: [clang][nfc] refactor Module::Header to use OptionalFileEntryRef.

LGTM.

Jan 19 2023, 2:48 PM · Restricted Project, Restricted Project
jansvoboda11 added inline comments to D142113: [clang][nfc] refactor Module::Header to use OptionalFileEntryRef.
Jan 19 2023, 9:25 AM · Restricted Project, Restricted Project

Jan 18 2023

jansvoboda11 added a comment to D119708: [clang][lex] Remove `PPCallbacks::FileNotFound()`.

If the plan is to eventually upstream that part of Cling, I'm fine with re-adding a safe version of this API.

Jan 18 2023, 9:15 AM · Restricted Project, Restricted Project, Restricted Project

Jan 17 2023

jansvoboda11 added a comment to D119708: [clang][lex] Remove `PPCallbacks::FileNotFound()`.

Hello, sorry for the late heads-up, but this functionality is used by ROOT: https://github.com/root-project/root/blob/f58cccf5ce7fd67894c7fd9e9e74d3f37bc1acba/core/metacling/src/TClingCallbacks.cxx#L282 Any chance of bringing this back?

Jan 17 2023, 2:17 PM · Restricted Project, Restricted Project, Restricted Project

Jan 13 2023

jansvoboda11 committed rG347028a4d8da: [clang] Report the on-disk paths for inputs to module compiles (authored by jansvoboda11).
[clang] Report the on-disk paths for inputs to module compiles
Jan 13 2023, 6:38 PM · Restricted Project, Restricted Project
jansvoboda11 closed D141644: [clang] Report the on-disk paths for inputs to module compiles.
Jan 13 2023, 6:38 PM · Restricted Project, Restricted Project
jansvoboda11 updated the diff for D141644: [clang] Report the on-disk paths for inputs to module compiles.

Fix test on Windows(?), add comment

Jan 13 2023, 10:49 AM · Restricted Project, Restricted Project
jansvoboda11 added a comment to D141450: [Clang][cc1] Make -fno-modules-local-submodule-visibility the default for ObjC++20.

Perhaps I've got things confused, but my understanding of LSV was that it prevented other headers in the same modulemap from leaking into the use/inclusion of one header in a module. But that indirect inclusions were still valid/exposed (eg: header A, B, and C in a module, A includes C - without LSV, including A also incidentally exposes B, but with or without LSV including A does expose C).

Jan 13 2023, 10:39 AM · Restricted Project, Restricted Project, Restricted Project

Jan 12 2023

jansvoboda11 updated the summary of D141644: [clang] Report the on-disk paths for inputs to module compiles.
Jan 12 2023, 4:54 PM · Restricted Project, Restricted Project