diff options
author | Alex Lorenz <arphaman@gmail.com> | 2015-08-14 21:55:58 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2015-08-14 21:55:58 +0000 |
commit | 577d271a75d3a7716df0e38648acef94e842575d (patch) | |
tree | 2a46f0e021be683f4ef61500f9af4b244975920c /llvm/lib/CodeGen/MIRPrinter.cpp | |
parent | 52ae023f9dd4322f46b22c7d8464044dfca2cde4 (diff) | |
download | bcm5719-llvm-577d271a75d3a7716df0e38648acef94e842575d.tar.gz bcm5719-llvm-577d271a75d3a7716df0e38648acef94e842575d.zip |
MIR Serialization: Serialize the '.cfi_same_value' CFI directive.
llvm-svn: 245103
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MIRPrinter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp index d70b5c412f1..248db52790e 100644 --- a/llvm/lib/CodeGen/MIRPrinter.cpp +++ b/llvm/lib/CodeGen/MIRPrinter.cpp @@ -794,6 +794,12 @@ static void printCFIRegister(unsigned DwarfReg, raw_ostream &OS, void MIPrinter::print(const MCCFIInstruction &CFI, const TargetRegisterInfo *TRI) { switch (CFI.getOperation()) { + case MCCFIInstruction::OpSameValue: + OS << ".cfi_same_value "; + if (CFI.getLabel()) + OS << "<mcsymbol> "; + printCFIRegister(CFI.getRegister(), OS, TRI); + break; case MCCFIInstruction::OpOffset: OS << ".cfi_offset "; if (CFI.getLabel()) |