mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-18 01:35:44 +00:00
Correctly initialize LineSectionSymbol. Thanks to Duncan Sands for noticing it.
llvm-svn: 151979
This commit is contained in:
parent
ce079960e5
commit
837258385f
@ -1311,7 +1311,7 @@ void MCAsmStreamer::EmitRawText(StringRef String) {
|
||||
void MCAsmStreamer::FinishImpl() {
|
||||
// FIXME: This header is duplicated with MCObjectStreamer
|
||||
// Dump out the dwarf file & directory tables and line tables.
|
||||
const MCSymbol *LineSectionSymbol;
|
||||
const MCSymbol *LineSectionSymbol = NULL;
|
||||
if (getContext().hasDwarfFiles() && !UseLoc)
|
||||
LineSectionSymbol = MCDwarfFileTable::Emit(this);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user