diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-08 14:35:21 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-08 14:35:21 +0000 |
commit | 4eafe109459eb115f13f1d19c5ff3cb3678e8c7a (patch) | |
tree | a969849e8984be559f2ce32aced3131f14ba0c7a /include/llvm/MC/MCDwarf.h | |
parent | 6a61834d1c41971f80669a0484f1a0d2d8a1c286 (diff) | |
download | external_llvm-4eafe109459eb115f13f1d19c5ff3cb3678e8c7a.zip external_llvm-4eafe109459eb115f13f1d19c5ff3cb3678e8c7a.tar.gz external_llvm-4eafe109459eb115f13f1d19c5ff3cb3678e8c7a.tar.bz2 |
Don't force relaxation of AdvanceLoc instructions on OS X. gdb is happy with
the smaller encoding and this cuts 270336 bytes from a release version of
clang and 1246272 bytes from a debug build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCDwarf.h')
-rw-r--r-- | include/llvm/MC/MCDwarf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/MC/MCDwarf.h b/include/llvm/MC/MCDwarf.h index 5a3f918..1589e14 100644 --- a/include/llvm/MC/MCDwarf.h +++ b/include/llvm/MC/MCDwarf.h @@ -283,8 +283,7 @@ namespace llvm { // static void Emit(MCStreamer &streamer, bool usingCFI); static void EmitAdvanceLoc(MCStreamer &Streamer, uint64_t AddrDelta); - static void EncodeAdvanceLoc(uint64_t AddrDelta, raw_ostream &OS, - const TargetAsmInfo &AsmInfo); + static void EncodeAdvanceLoc(uint64_t AddrDelta, raw_ostream &OS); }; } // end namespace llvm |