forked from OSchip/llvm-project
[BOLT] Use Optional::emplace to avoid move assignment. NFC
This commit is contained in:
parent
df8713079b
commit
53113515cd
|
@ -1593,7 +1593,7 @@ void DwarfLineTable::emit(BinaryContext &BC, MCStreamer &Streamer) {
|
|||
// Some versions of GCC output DWARF5 .debug_info, but DWARF4 or lower
|
||||
// .debug_line
|
||||
if (LineStrSection) {
|
||||
LineStr = MCDwarfLineStr(*BC.Ctx);
|
||||
LineStr.emplace(*BC.Ctx);
|
||||
parseAndPopulateDebugLineStr(*LineStrSection, *LineStr, BC, Streamer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue