This revision was automatically updated to reflect the committed changes.
Closed by commit rL320706: [clangd] Implemented tracing using Context (authored
by ibiryukov, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D40488
Files:
clang-tools-extra/trunk/clangd/ClangdUnit.cpp
ilya-biryukov updated this revision to Diff 126951.
ilya-biryukov added a comment.
- Renamed TracingSession to Session (it is always used qualified via
trace::Session anyway)
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D40488
Files:
clangd/ClangdUnit.cpp
clangd/JSONRPCDi
sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.
Comment at: clangd/Trace.cpp:123
+ // Clone the context, so that the original Context can be moved.
+ this->Ctx.emplace(Ctx.clone());
+
This is a
ilya-biryukov updated this revision to Diff 126748.
ilya-biryukov added a comment.
Merged with head
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D40488
Files:
clangd/ClangdUnit.cpp
clangd/JSONRPCDispatcher.cpp
clangd/Trace.cpp
clangd/Trace.h
clangd/tool/ClangdMain.cp
ilya-biryukov updated this revision to Diff 126376.
ilya-biryukov added a comment.
- Use derive(key, value) instead of derive().add(key, value).
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D40488
Files:
clangd/ClangdUnit.cpp
clangd/JSONRPCDispatcher.cpp
clangd/Trace.cpp
ilya-biryukov updated this revision to Diff 126328.
ilya-biryukov added a comment.
Updated the patch after changes to Context
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D40488
Files:
clangd/ClangdUnit.cpp
clangd/JSONRPCDispatcher.cpp
clangd/Trace.cpp
clangd/Trace.h
ilya-biryukov updated this revision to Diff 125713.
ilya-biryukov added a comment.
- Use getExistingKey instead of getPtr in JSONRPCDispatcher.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D40488
Files:
clangd/ClangdUnit.cpp
clangd/JSONRPCDispatcher.cpp
clangd/Trace.cpp
ilya-biryukov updated this revision to Diff 125690.
ilya-biryukov added a comment.
Herald added a subscriber: klimek.
- Updated tracing to use the new Context implementation.
- Restored global tracer.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D40488
Files:
clangd/ClangdUn
ilya-biryukov planned changes to this revision.
ilya-biryukov added inline comments.
Comment at: clangd/JSONRPCDispatcher.h:80
+ // Ctx must be before Tracer!
Context Ctx;
JSONOutput &Out;
This is still wrong, `Context` is used by `Tracer` internally and s
ilya-biryukov created this revision.
https://reviews.llvm.org/D40488
Files:
clangd/ClangdUnit.cpp
clangd/JSONRPCDispatcher.cpp
clangd/JSONRPCDispatcher.h
clangd/ProtocolHandlers.cpp
clangd/Trace.cpp
clangd/Trace.h
clangd/tool/ClangdMain.cpp
unittests/clangd/TraceTests.cpp
Index:
10 matches
Mail list logo