[PATCH] D54784: Use --push/pop-state with XRay link deps

2019-05-03 Thread Petr Hosek via Phabricator via cfe-commits
phosek abandoned this revision. phosek added a comment. Herald added a project: clang. Turned out this is not the right approach because not every linker supports `--push-state`/`--pop-state` but I'm hoping to instead rely on ELF autolinking once D60274 lands.

[PATCH] D54784: Use --push/pop-state with XRay link deps

2018-11-21 Thread Dean Michael Berris via Phabricator via cfe-commits
dberris accepted this revision. dberris added a comment. This revision is now accepted and ready to land. LGTM Repository: rC Clang https://reviews.llvm.org/D54784 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-

[PATCH] D54784: Use --push/pop-state with XRay link deps

2018-11-21 Thread Petr Hosek via Phabricator via cfe-commits
phosek created this revision. phosek added a reviewer: dberris. Herald added a subscriber: cfe-commits. XRay runtime link deps handling passes --no-as-needed, but it never undoes it and this flag may affect other libraries that come later on the link line. To avoid this, wrap XRay link deps in --p