diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-10 07:39:47 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-10 07:39:47 +0000 |
| commit | 0a017a6db249cda63852c1561406edd5bc150bcf (patch) | |
| tree | 16b16da1415f4d340431cc09e67795403b2f235e /llvm/lib/MC/MCMachOStreamer.cpp | |
| parent | 3046b4d72fa98863cc6773cf99426876308ea621 (diff) | |
| download | bcm5719-llvm-0a017a6db249cda63852c1561406edd5bc150bcf.tar.gz bcm5719-llvm-0a017a6db249cda63852c1561406edd5bc150bcf.zip | |
Fixed version of 121434 with no new memory leaks.
llvm-svn: 121471
Diffstat (limited to 'llvm/lib/MC/MCMachOStreamer.cpp')
| -rw-r--r-- | llvm/lib/MC/MCMachOStreamer.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/llvm/lib/MC/MCMachOStreamer.cpp b/llvm/lib/MC/MCMachOStreamer.cpp index 47060234b38..df1e7d8e2b5 100644 --- a/llvm/lib/MC/MCMachOStreamer.cpp +++ b/llvm/lib/MC/MCMachOStreamer.cpp @@ -24,6 +24,7 @@ #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Target/TargetAsmBackend.h" +#include "llvm/Target/TargetAsmInfo.h" using namespace llvm; @@ -354,15 +355,6 @@ void MCMachOStreamer::EmitInstToData(const MCInst &Inst) { } void MCMachOStreamer::Finish() { - // Dump out the dwarf file & directory tables and line tables. - if (getContext().hasDwarfFiles()) { - const MCSection *DwarfLineSection = getContext().getMachOSection("__DWARF", - "__debug_line", - MCSectionMachO::S_ATTR_DEBUG, - 0, SectionKind::getDataRelLocal()); - MCDwarfFileTable::Emit(this, DwarfLineSection); - } - // We have to set the fragment atom associations so we can relax properly for // Mach-O. |

