HomePhabricator

[Driver] Add flag "--dependent-lib=..." when enabling asan or ubsan on PS4.

Description

[Driver] Add flag "--dependent-lib=..." when enabling asan or ubsan on PS4.

NFC for targets other than PS4.

Simplify users' workflow when enabling asan or ubsan and calling the linker separately.

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

Details