Page MenuHomePhabricator

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

ivanmurashko (Ivan Murashko)
User

Projects

User does not belong to any projects.

User Details

User Since
May 20 2021, 11:57 PM (123 w, 3 d)

Recent Activity

Mon, Sep 4

ivanmurashko committed rGd03a7f15f019: [clangd] SIGSEGV at clangd: DiagnosticConsumer Is Used After Free (authored by ivanmurashko).
[clangd] SIGSEGV at clangd: DiagnosticConsumer Is Used After Free
Mon, Sep 4, 10:54 AM · Restricted Project, Restricted Project
ivanmurashko closed D159363: [clangd] SIGSEGV at clangd: DiagnosticConsumer Is Used After Free.
Mon, Sep 4, 10:54 AM · Restricted Project, Restricted Project, Restricted Project
ivanmurashko added a comment to D159363: [clangd] SIGSEGV at clangd: DiagnosticConsumer Is Used After Free.

thanks, the fix LGTM as well.

but i wonder how this surfaces, to make sure we're taking necessary precautions in the future. we definitely have a dangling reference, which isn't great. but it's surprising that we access diags consumer during indexing.
I assume it's about the modules setup you're running clangd in. Do you have any stack traces that shows the execution path? my assumption is, this triggers when clangd ends up deserializing some symbols from a module. If these end up being important diagnostics, we might want to figure out how to emit diagnostics from these stages as well.

Mon, Sep 4, 1:57 AM · Restricted Project, Restricted Project, Restricted Project

Sep 1 2023

ivanmurashko added inline comments to D159363: [clangd] SIGSEGV at clangd: DiagnosticConsumer Is Used After Free.
Sep 1 2023, 10:49 AM · Restricted Project, Restricted Project, Restricted Project
ivanmurashko updated the diff for D159363: [clangd] SIGSEGV at clangd: DiagnosticConsumer Is Used After Free.

@sammccall's comment was addressed

Sep 1 2023, 10:48 AM · Restricted Project, Restricted Project, Restricted Project
ivanmurashko added inline comments to D159363: [clangd] SIGSEGV at clangd: DiagnosticConsumer Is Used After Free.
Sep 1 2023, 8:54 AM · Restricted Project, Restricted Project, Restricted Project
ivanmurashko requested review of D159363: [clangd] SIGSEGV at clangd: DiagnosticConsumer Is Used After Free.
Sep 1 2023, 8:48 AM · Restricted Project, Restricted Project, Restricted Project

Jul 12 2023

ivanmurashko abandoned D145228: [clangd] Add clangd headers to install targets.

The diff is not required after https://reviews.llvm.org/D145302 deployed

Jul 12 2023, 3:14 AM · Restricted Project, Restricted Project
ivanmurashko added a comment to D145302: [clangd] Add library for clangd main function.

This broke building with -DLLVM_LINK_LLVM_DYLIB=ON:

I also ran into this; I pushed a fix in a20d57e83441a69fa2bab86593b18cc0402095d2.

Jul 12 2023, 2:34 AM · Restricted Project, Restricted Project

Jul 11 2023

ivanmurashko committed rG56ac9d46a7c1: [clangd] Add library for clangd main function (authored by ivanmurashko).
[clangd] Add library for clangd main function
Jul 11 2023, 1:50 PM · Restricted Project, Restricted Project
ivanmurashko closed D145302: [clangd] Add library for clangd main function.
Jul 11 2023, 1:50 PM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D145302: [clangd] Add library for clangd main function.

rebase before the final push

Jul 11 2023, 8:24 AM · Restricted Project, Restricted Project

Jul 2 2023

ivanmurashko added a comment to D145302: [clangd] Add library for clangd main function.

thanks LG and seems to be working in a couple build configurations I tried. but there might still be breakages in different configs, so please be on the watchout after landing this for breakages in https://lab.llvm.org/.

Jul 2 2023, 4:52 AM · Restricted Project, Restricted Project
ivanmurashko added inline comments to D145302: [clangd] Add library for clangd main function.
Jul 2 2023, 3:39 AM · Restricted Project, Restricted Project
ivanmurashko added inline comments to D145302: [clangd] Add library for clangd main function.
Jul 2 2023, 3:38 AM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D145302: [clangd] Add library for clangd main function.

Fixed clangd unit tests

Jul 2 2023, 2:40 AM · Restricted Project, Restricted Project

Jun 27 2023

ivanmurashko updated the diff for D145302: [clangd] Add library for clangd main function.

small fixes

Jun 27 2023, 2:44 PM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D145302: [clangd] Add library for clangd main function.

Rebase + apply suggestions from @kadircet

Jun 27 2023, 2:24 PM · Restricted Project, Restricted Project

Jun 12 2023

ivanmurashko committed rGa8ad413f0d18: [RFC][clangd] Move preamble index out of document open critical path (authored by kuganv).
[RFC][clangd] Move preamble index out of document open critical path
Jun 12 2023, 4:57 AM · Restricted Project, Restricted Project, Restricted Project
ivanmurashko closed D148088: [RFC][clangd] Move preamble index out of document open critical path.
Jun 12 2023, 4:57 AM · Restricted Project, Restricted Project, Restricted Project

May 28 2023

ivanmurashko committed rGf8536fb11e3d: [clang][HeaderSearch] Fix implicit module when using header maps (authored by ivanmurashko).
[clang][HeaderSearch] Fix implicit module when using header maps
May 28 2023, 3:50 AM · Restricted Project, Restricted Project
ivanmurashko closed D103930: [clang][HeaderSearch] Fix implicit module when using header maps.
May 28 2023, 3:50 AM · Restricted Project, Restricted Project

May 25 2023

ivanmurashko updated the diff for D145302: [clangd] Add library for clangd main function.

removed header install, only lib install has been left after the change

May 25 2023, 6:10 AM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D145302: [clangd] Add library for clangd main function.

rebased to the latest LLVM main

May 25 2023, 5:31 AM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

rebase to latest LLVM main branch

May 25 2023, 5:29 AM · Restricted Project, Restricted Project
ivanmurashko added a comment to D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

Still looking at issues and not sure whether these are blockers or not.

May 25 2023, 4:31 AM · Restricted Project, Restricted Project

May 12 2023

ivanmurashko updated the diff for D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

typo fixed + rebase

May 12 2023, 1:28 AM · Restricted Project, Restricted Project

May 6 2023

ivanmurashko updated the diff for D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

windows marked as non supported

May 6 2023, 12:14 PM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

rebase

May 6 2023, 8:50 AM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

small fix at the lit-test

May 6 2023, 3:56 AM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

split-file was used for the lit-test simplification (see @ChuanqiXu comment)

May 6 2023, 3:02 AM · Restricted Project, Restricted Project

May 1 2023

ivanmurashko added a comment to D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

Friendly ping

May 1 2023, 9:53 AM · Restricted Project, Restricted Project

Apr 27 2023

ivanmurashko edited reviewers for D148088: [RFC][clangd] Move preamble index out of document open critical path, added: sammccall; removed: sam.
Apr 27 2023, 1:49 PM · Restricted Project, Restricted Project, Restricted Project
ivanmurashko added a comment to D148088: [RFC][clangd] Move preamble index out of document open critical path.
Apr 27 2023, 12:57 PM · Restricted Project, Restricted Project, Restricted Project

Apr 26 2023

ivanmurashko updated the diff for D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

Windows constrains added

Apr 26 2023, 2:44 PM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

Rebase

Apr 26 2023, 10:10 AM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

Commandeer the diff from @andrewjcg and made some changes at the code (get it compatible with latest clang source code) and at the tests (move modules artefacts to temp folder to make the test execution more stable).

Apr 26 2023, 7:05 AM · Restricted Project, Restricted Project
ivanmurashko commandeered D103930: [clang][HeaderSearch] Fix implicit module when using header maps.
Apr 26 2023, 6:58 AM · Restricted Project, Restricted Project

Apr 25 2023

ivanmurashko added a comment to D103930: [clang][HeaderSearch] Fix implicit module when using header maps.

@arphaman, @andrewjcg, what's the status of the diff?
The functionality is important for me and I want to get it landed.

Apr 25 2023, 3:04 AM · Restricted Project, Restricted Project

Mar 21 2023

ivanmurashko updated the summary of D145302: [clangd] Add library for clangd main function.
Mar 21 2023, 10:27 AM · Restricted Project, Restricted Project
ivanmurashko added a comment to D145302: [clangd] Add library for clangd main function.

Can this be solved at the build-system level, without changing the source code in ways that aren't otherwise useful?
For example, with a CLANG_TIDY_EXTRA_CHECKS cmake variable that adds more deps? This seems like it could also work for the clang-tidy binary.

Mar 21 2023, 10:25 AM · Restricted Project, Restricted Project
ivanmurashko added a comment to D145228: [clangd] Add clangd headers to install targets.

If we consider the bare minimum with the only goal to build outside LLVM source tree then we don’t need to copy all internal headers. At the case the D145302 can be modified and we can end up with the only one header that is required to copy: clang-tools-extra/clangd/tool/ClangdMain.h.

Mar 21 2023, 10:07 AM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D145302: [clangd] Add library for clangd main function.

The change addresses comments from D145228. The only one header is copied as a part of the installation. As result the diff contains the minimal changes required to integrated clangd into custom build systems (different from CMake).

Mar 21 2023, 10:04 AM · Restricted Project, Restricted Project

Mar 7 2023

ivanmurashko added a comment to D145228: [clangd] Add clangd headers to install targets.

I think this is a bit abstract though. Concretely, what API do you need here? e.g. which headers do you want to include, to what end?

Mar 7 2023, 8:01 AM · Restricted Project, Restricted Project
ivanmurashko added a comment to D145228: [clangd] Add clangd headers to install targets.
Mar 7 2023, 3:34 AM · Restricted Project, Restricted Project

Mar 6 2023

SR_team awarded D145228: [clangd] Add clangd headers to install targets a Like token.
Mar 6 2023, 1:26 AM · Restricted Project, Restricted Project

Mar 4 2023

ivanmurashko requested review of D145302: [clangd] Add library for clangd main function.
Mar 4 2023, 2:30 AM · Restricted Project, Restricted Project

Mar 3 2023

ivanmurashko requested review of D145228: [clangd] Add clangd headers to install targets.
Mar 3 2023, 3:49 AM · Restricted Project, Restricted Project

Feb 21 2023

ivanmurashko committed rGd604c57164ec: [NFC] Use find_last_of when seraching for code in… (authored by kuganv).
[NFC] Use find_last_of when seraching for code in…
Feb 21 2023, 8:26 AM · Restricted Project, Restricted Project
ivanmurashko closed D141950: [NFC] Use find_last_of when seraching for code in getRawCommentForDeclNoCacheImpl.
Feb 21 2023, 8:26 AM · Restricted Project, Restricted Project

Sep 10 2022

ivanmurashko added a reviewer for D133436: Ground work for cuda-related checks in clang-tidy: DmitryPolukhin.
Sep 10 2022, 2:31 PM · Restricted Project, Restricted Project

Sep 7 2022

ivanmurashko added inline comments to D133436: Ground work for cuda-related checks in clang-tidy.
Sep 7 2022, 10:26 AM · Restricted Project, Restricted Project

Aug 11 2022

ivanmurashko committed rG557e32e002ed: [clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl (authored by ivanmurashko).
[clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl
Aug 11 2022, 4:07 PM · Restricted Project, Restricted Project
ivanmurashko closed D131675: [clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl.
Aug 11 2022, 4:07 PM · Restricted Project, Restricted Project
ivanmurashko updated the summary of D131675: [clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl.
Aug 11 2022, 4:03 PM · Restricted Project, Restricted Project
ivanmurashko updated the summary of D131675: [clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl.
Aug 11 2022, 4:01 PM · Restricted Project, Restricted Project
ivanmurashko updated the summary of D131675: [clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl.
Aug 11 2022, 3:53 PM · Restricted Project, Restricted Project
ivanmurashko updated the summary of D131675: [clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl.
Aug 11 2022, 6:04 AM · Restricted Project, Restricted Project
ivanmurashko updated the summary of D131675: [clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl.
Aug 11 2022, 6:04 AM · Restricted Project, Restricted Project
ivanmurashko updated the summary of D131675: [clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl.
Aug 11 2022, 6:03 AM · Restricted Project, Restricted Project
ivanmurashko updated the summary of D131675: [clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl.
Aug 11 2022, 6:03 AM · Restricted Project, Restricted Project
ivanmurashko added reviewers for D131675: [clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl: jkorous, gribozavr.
Aug 11 2022, 5:59 AM · Restricted Project, Restricted Project
ivanmurashko requested review of D131675: [clang] SIGSEGV fix at clang::ASTContext::getRawCommentForDeclNoCacheImpl.
Aug 11 2022, 5:56 AM · Restricted Project, Restricted Project

Aug 10 2022

ivanmurashko committed rGe78c80e3d622: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of… (authored by ivanmurashko).
[clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of…
Aug 10 2022, 8:39 AM · Restricted Project, Restricted Project
ivanmurashko closed D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.
Aug 10 2022, 8:39 AM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.

Rebase

Aug 10 2022, 7:57 AM · Restricted Project, Restricted Project

Aug 9 2022

ivanmurashko updated the summary of D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.
Aug 9 2022, 12:24 PM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.

Use Invalid flag to detect invalid SLocEntry

Aug 9 2022, 8:32 AM · Restricted Project, Restricted Project
ivanmurashko added inline comments to D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.
Aug 9 2022, 5:56 AM · Restricted Project, Restricted Project
ivanmurashko added a comment to D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.

These changes look reasonable, but I verified that the precommit CI failures are valid -- it looks like this change broke a test somehow; perhaps a caller was relying on the old behavior and needs to be reworked?

Aug 9 2022, 12:16 AM · Restricted Project, Restricted Project
ivanmurashko updated the summary of D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.
Aug 9 2022, 12:11 AM · Restricted Project, Restricted Project
ivanmurashko retitled D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry from [clang] SourceManager: fix isOffsetInFileID for the case of a fake SLocEntry to [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.
Aug 9 2022, 12:10 AM · Restricted Project, Restricted Project

Aug 8 2022

ivanmurashko updated the diff for D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.

stop search if we could not load an entry

Aug 8 2022, 4:03 PM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.

rebase

Aug 8 2022, 3:18 AM · Restricted Project, Restricted Project

Aug 2 2022

ivanmurashko added a comment to D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.

These changes look reasonable, but I verified that the precommit CI failures are valid -- it looks like this change broke a test somehow; perhaps a caller was relying on the old behavior and needs to be reworked?

Aug 2 2022, 8:41 AM · Restricted Project, Restricted Project
ivanmurashko added inline comments to D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.
Aug 2 2022, 4:48 AM · Restricted Project, Restricted Project
ivanmurashko added a comment to D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.
Aug 2 2022, 4:45 AM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.

Fix for wrong LastFileIDLookup assignment

Aug 2 2022, 4:35 AM · Restricted Project, Restricted Project

Jul 31 2022

ivanmurashko updated the diff for D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.

rebase

Jul 31 2022, 1:59 PM · Restricted Project, Restricted Project
ivanmurashko updated the summary of D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.
Jul 31 2022, 9:24 AM · Restricted Project, Restricted Project
ivanmurashko updated the summary of D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.
Jul 31 2022, 9:06 AM · Restricted Project, Restricted Project
ivanmurashko updated the summary of D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.
Jul 31 2022, 8:51 AM · Restricted Project, Restricted Project
ivanmurashko requested review of D130847: [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry.
Jul 31 2022, 8:48 AM · Restricted Project, Restricted Project

Jun 2 2022

ivanmurashko committed rG987f9cb6b970: [clang-tidy] Add proper emplace checks to modernize-use-emplace (authored by nicovank).
[clang-tidy] Add proper emplace checks to modernize-use-emplace
Jun 2 2022, 4:15 PM · Restricted Project, Restricted Project
ivanmurashko closed D101471: [clang-tidy] Add proper emplace checks to modernize-use-emplace.
Jun 2 2022, 4:15 PM · Restricted Project, Restricted Project, Restricted Project
ivanmurashko accepted D101471: [clang-tidy] Add proper emplace checks to modernize-use-emplace.

LGTM, thank you a lot for the useful modification!

Jun 2 2022, 2:40 PM · Restricted Project, Restricted Project, Restricted Project

May 16 2022

Herald added a project to D103930: [clang][HeaderSearch] Fix implicit module when using header maps: Restricted Project.
May 16 2022, 8:56 AM · Restricted Project, Restricted Project

May 14 2022

Herald added projects to D94727: [clangd] Retire some flags for uncontroversial, stable features.: Restricted Project, Restricted Project.
May 14 2022, 12:38 AM · Restricted Project, Restricted Project, Restricted Project

May 3 2022

ivanmurashko committed rG2deebc0048f9: [RFC] Add and sort decl to maintain order instead of inserting in order (authored by kuganv).
[RFC] Add and sort decl to maintain order instead of inserting in order
May 3 2022, 9:10 AM · Restricted Project, Restricted Project
ivanmurashko closed D124840: [RFC] Add and sort decl to maintain order instead of inserting in order.
May 3 2022, 9:10 AM · Restricted Project, Restricted Project
ivanmurashko committed rGf6112f490cfe: [docs] PCH usage documentation update (authored by ivanmurashko).
[docs] PCH usage documentation update
May 3 2022, 12:28 AM · Restricted Project, Restricted Project
ivanmurashko closed D124719: [docs] PCH usage documentation update.
May 3 2022, 12:27 AM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D124719: [docs] PCH usage documentation update.

Some clarifications for the direct include example were added

May 3 2022, 12:12 AM · Restricted Project, Restricted Project

Apr 30 2022

ivanmurashko retitled D124719: [docs] PCH usage documentation update from [clang,doc] PCH usage documentation update to [docs] PCH usage documentation update.
Apr 30 2022, 1:57 PM · Restricted Project, Restricted Project
ivanmurashko added reviewers for D124719: [docs] PCH usage documentation update: aaron.ballman, bruno, akyrtzi.
Apr 30 2022, 1:57 PM · Restricted Project, Restricted Project
ivanmurashko updated the diff for D124719: [docs] PCH usage documentation update.

Minor changes at the doc

Apr 30 2022, 1:54 PM · Restricted Project, Restricted Project
ivanmurashko requested review of D124719: [docs] PCH usage documentation update.
Apr 30 2022, 1:49 PM · Restricted Project, Restricted Project

Mar 10 2022

Herald added a project to D65301: [clang] Refactor how are doc comments attached to Decls: Restricted Project.
Mar 10 2022, 2:32 PM · Restricted Project, Restricted Project

Feb 11 2022

ivanmurashko added inline comments to D119165: [clang-tidy] Add processing lambda captures at bugprone-use-after-move check.
Feb 11 2022, 11:08 AM · Restricted Project, Restricted Project

Feb 10 2022

ivanmurashko committed rG71d7c8d870db: [clangd] Crash in __memcmp_avx2_movbe (authored by ivanmurashko).
[clangd] Crash in __memcmp_avx2_movbe
Feb 10 2022, 9:41 AM