diff options
author | Brian Cain <bcain@quicinc.com> | 2019-08-08 19:13:23 +0000 |
---|---|---|
committer | Brian Cain <bcain@quicinc.com> | 2019-08-08 19:13:23 +0000 |
commit | 6dbbd0f3432606748c23af9d677d73ca8372a11e (patch) | |
tree | a8ad0800c9c22d13017330044d8d9eaa5d4f97ae /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | a3c35309583fe3062cc1142d718a123aa676564d (diff) | |
download | bcm5719-llvm-6dbbd0f3432606748c23af9d677d73ca8372a11e.tar.gz bcm5719-llvm-6dbbd0f3432606748c23af9d677d73ca8372a11e.zip |
[llvm-mc] Add reportWarning() to MCContext
Adding reportWarning() to MCContext, so that it can be used from
the Hexagon assembler backend.
llvm-svn: 368327
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineModuleInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp index aadcd731979..6ac9d3dfc2e 100644 --- a/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp @@ -194,9 +194,9 @@ void MMIAddrLabelMapCallbackPtr::allUsesReplacedWith(Value *V2) { } MachineModuleInfo::MachineModuleInfo(const LLVMTargetMachine *TM) - : ImmutablePass(ID), TM(*TM), - Context(TM->getMCAsmInfo(), TM->getMCRegisterInfo(), - TM->getObjFileLowering(), nullptr, false) { + : ImmutablePass(ID), TM(*TM), + Context(TM->getMCAsmInfo(), TM->getMCRegisterInfo(), + TM->getObjFileLowering(), nullptr, nullptr, false) { initializeMachineModuleInfoPass(*PassRegistry::getPassRegistry()); } |