It is possible that this method is called simultaneously from several threads,
so the initialization of DwarfLine has to be protected.
In my case the call sequence was the following:
OutputSectionCommand::writeTo() -> parallelForEachN() ->
(two parallel threads) ->
InputSection::writeTo() -> InputSectionBase::relocate() ->
InputSectionBase::relocateAlloc() -> AArch64::relocateOne() ->
checkInt<28>() -> getErrorLocation() -> getErrorLoc() ->
InputSectionBase::getLocation() -> ObjectFile<ELFT>::getLineInfo() ->
ObjectFile<ELFT>::getDILineInfo() -> ObjectFile<ELFT>::initializeDwarfLine().