]> granicus.if.org Git - llvm/commit
[mips] Fix an initialization issue with MipsABIInfo in MipsTargetELFStreamer
authorSimon Dardis <simon.dardis@imgtec.com>
Wed, 1 Feb 2017 15:39:23 +0000 (15:39 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Wed, 1 Feb 2017 15:39:23 +0000 (15:39 +0000)
commit537adc9cac5fa85cd5098f9eeb3b14b38820ef59
treee958b0693f9ef4e5786223356afd47867a1c58e7
parent447c100995d02e6acd0cac9f3967c5b82a1d161c
[mips] Fix an initialization issue with MipsABIInfo in MipsTargetELFStreamer

DebugInfoDWARFTests is the only user so far which initializes the
MCObjectStreamer without initializing the ASMParser. The MIPS backend
relies on the ASMParser to initialize the MipsABIInfo object and to
update the target streamer with it. This should turn the mips buildbots
green.

Reviewers: atanasyan, zoran.jovanovic

Differential Revision: https://reviews.llvm.org/D28025

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293772 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp