message(LDPL_FATAL, ...) should never return. This is the only place in the gold-plugin code where we put an unreachable() after that to ensure the invariant is satisfied. I think that we can either add llvm_unreachable() after each use of LDPL_FATAL in the source file, or remove this one.
I just don't like the inconsistency, so I vote for the removal.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
It might be there to avoid a warning.
LGTM if no warnings with GCC or clang.
Cheers,
Rafael