[PATCH] D96035: [WIP][dsymutil][DWARFlinker] implement separate multi-thread processing for compile units.
Alexey Lapshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 23 11:59:44 PST 2021
avl added a comment.
In D96035#2582232 <https://reviews.llvm.org/D96035#2582232>, @JDevlieghere wrote:
> In D96035#2579270 <https://reviews.llvm.org/D96035#2579270>, @dblaikie wrote:
>
>> A non-deterministic behavior is probably not acceptable - it'd certainly be no good at Google if we ever wanted to use this for DWARF linking. Not sure how the Apple folks feel about it for classic dsymutil.
>
> Yes, this would be a non-starter.
even if it IS deterministic in --num-threads=1, and is Not deterministic in multi-thread case?
Might changing the ODR uniquing algorithm be a solution then? (That is what I described in some previous message - do not reuse existing type declarations, but generate an artificial compile unit containing the types)? Such artificial compile unit containing the types might be generated in the deterministic way.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96035/new/
https://reviews.llvm.org/D96035
More information about the llvm-commits
mailing list