This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG42ae055b4c92: [NFC] Fix potential for use-after-free in
DumpModuleInfoAction (authored by Fznamznon).
Repository:
rG LLVM Github Monorepo
CHANGES
Fznamznon added a comment.
The test fail is unrelated, seem to be broken by
https://reviews.llvm.org/D146811 .
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146412/new/
https://reviews.llvm.org/D146412
Fznamznon updated this revision to Diff 509580.
Fznamznon added a comment.
Rebase.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146412/new/
https://reviews.llvm.org/D146412
Files:
clang/include/clang/Frontend/FrontendActions.h
clang/lib/Front
Fznamznon added inline comments.
Comment at: lldb/source/Commands/CommandObjectTarget.cpp:2182-2183
-clang::DumpModuleInfoAction dump_module_info;
-dump_module_info.OutputStream = &result.GetOutputStream().AsRawOstream();
+std::shared_ptr Out(
+&result.GetOu
Fznamznon updated this revision to Diff 509420.
Fznamznon added a comment.
Add comment explaining custom deleter.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146412/new/
https://reviews.llvm.org/D146412
Files:
clang/include/clang/Frontend/Fron
Fznamznon updated this revision to Diff 509372.
Fznamznon added a comment.
Add a little bit of safety.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146412/new/
https://reviews.llvm.org/D146412
Files:
clang/include/clang/Frontend/FrontendActions
Fznamznon updated this revision to Diff 509285.
Fznamznon added a comment.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Use private shared_ptr in `DumpModuleInfoAction`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146412/n