diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-03-03 14:24:15 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-03-03 14:24:15 +0000 |
| commit | c7ecbfb07d8f8ce23be71c43e77f05f06a8e64c4 (patch) | |
| tree | 71bc0d806c314e64e2d26d407c00666bef29cf0a /llvm/lib/MC/MCObjectStreamer.cpp | |
| parent | 999892f0d057e6fec846e238696602e0ef633ebf (diff) | |
| download | bcm5719-llvm-c7ecbfb07d8f8ce23be71c43e77f05f06a8e64c4.tar.gz bcm5719-llvm-c7ecbfb07d8f8ce23be71c43e77f05f06a8e64c4.zip | |
Correctly initialize LineSectionSymbol. Thanks to Duncan Sands for noticing it.
llvm-svn: 151979
Diffstat (limited to 'llvm/lib/MC/MCObjectStreamer.cpp')
| -rw-r--r-- | llvm/lib/MC/MCObjectStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCObjectStreamer.cpp b/llvm/lib/MC/MCObjectStreamer.cpp index a7eb8b03a2c..906bdc3ab8c 100644 --- a/llvm/lib/MC/MCObjectStreamer.cpp +++ b/llvm/lib/MC/MCObjectStreamer.cpp @@ -266,7 +266,7 @@ void MCObjectStreamer::EmitGPRel32Value(const MCExpr *Value) { void MCObjectStreamer::FinishImpl() { // Dump out the dwarf file & directory tables and line tables. - const MCSymbol *LineSectionSymbol; + const MCSymbol *LineSectionSymbol = NULL; if (getContext().hasDwarfFiles()) LineSectionSymbol = MCDwarfFileTable::Emit(this); |

