[PATCH] D71468: [llvm-exegesis] Set up AsmTargetStreamer in readSnippets
Clement Courbet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 01:00:30 PST 2019
courbet added inline comments.
================
Comment at: llvm/tools/llvm-exegesis/lib/SnippetFile.cpp:142
+ formatted_raw_ostream InstPrinterOStream(ErrorStream);
+ MCInstPrinter *const InstPrinter = TM.getTarget().createMCInstPrinter(
+ TM.getTargetTriple(), TM.getMCAsmInfo()->getAssemblerDialect(),
----------------
Unless I'm mistaken, this InstrPrinter is leaked here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71468/new/
https://reviews.llvm.org/D71468
More information about the llvm-commits
mailing list