diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-21 23:26:40 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-21 23:26:40 +0000 |
commit | eccbad78e0854743e358841b64f9e0f5eba82861 (patch) | |
tree | a7dc224324b2126b057417b35c39e87dfd9c2e94 | |
parent | 71f3f1146f2ba2773f0467767b67c12258960f34 (diff) | |
download | external_llvm-eccbad78e0854743e358841b64f9e0f5eba82861.zip external_llvm-eccbad78e0854743e358841b64f9e0f5eba82861.tar.gz external_llvm-eccbad78e0854743e358841b64f9e0f5eba82861.tar.bz2 |
Don't pass address spaces to EmitULEB128IntValue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129953 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/MC/MCDwarf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp index 8770c8f..ebc8eda 100644 --- a/lib/MC/MCDwarf.cpp +++ b/lib/MC/MCDwarf.cpp @@ -565,11 +565,11 @@ void FrameEmitterImpl::EmitCFIInstruction(MCStreamer &Streamer, Streamer.EmitSLEB128IntValue(Offset); } else if (Reg < 64) { Streamer.EmitIntValue(dwarf::DW_CFA_offset + Reg, 1); - Streamer.EmitULEB128IntValue(Offset, 1); + Streamer.EmitULEB128IntValue(Offset); } else { Streamer.EmitIntValue(dwarf::DW_CFA_offset_extended, 1); - Streamer.EmitULEB128IntValue(Reg, 1); - Streamer.EmitULEB128IntValue(Offset, 1); + Streamer.EmitULEB128IntValue(Reg); + Streamer.EmitULEB128IntValue(Offset); } return; } |