HomePhabricator

Report error if -export-dynamic is used with -r

Description

Report error if -export-dynamic is used with -r

The combination of the two flags doesn't make sense. And other linkers
seem to just ignore --export-dynamic if --relocatable is given, but
we probably should report it as an error to let users know that is
an invalid combination.

Fixes https://bugs.llvm.org/show_bug.cgi?id=43552

Differential Revision: https://reviews.llvm.org/D68441

Details

Committed
ruiuOct 8 2019, 1:03 AM
Differential Revision
D68441: Ignore --export-dynamic if --relocatable is given
Parents
rL374021: [LoopVectorize] Fix non-debug builds after rL374017
Branches
Unknown
Tags
Unknown