[llvm-exegesis] Set up AsmTargetStreamer in readSnippets
authorGuillaume Chatelet <gchatelet@google.com>
Fri, 13 Dec 2019 15:14:39 +0000 (16:14 +0100)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 16 Dec 2019 12:37:59 +0000 (13:37 +0100)
commitc72bff682193118c054eb3d3c59eb718042787da
treead1e60c69be410b8f80dae35ca44f5b3fc3ec2a1
parent181ab91efc9fb08dedda10a2fbc5fccb83ce8799
[llvm-exegesis] Set up AsmTargetStreamer in readSnippets

Summary: This is a follow up on D71137 properly setting up the AsmTargetStreamer prior to AsmParser::Run call.

Reviewers: courbet, mstojanovic

Subscribers: tschuett, mikhail.ramalho, llvm-commits, petarj, atanasyan

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71468
llvm/tools/llvm-exegesis/lib/SnippetFile.cpp
llvm/unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp