[XRay][clang] Allow clang to build XRay instrumented binaries in OpenBSD
authorDean Michael Berris <dberris@google.com>
Wed, 4 Apr 2018 12:47:49 +0000 (12:47 +0000)
committerDean Michael Berris <dberris@google.com>
Wed, 4 Apr 2018 12:47:49 +0000 (12:47 +0000)
commit9b59233f57269ea163aee4f715b21cc6319b0813
treee539148dca73143834005dc618b2edb14a31e5e7
parentb1c746ef043c4c21677f0e25c5af8a82d257fac9
[XRay][clang] Allow clang to build XRay instrumented binaries in OpenBSD

Summary:
This patch was originally reviewed in D45126. It enables clang to add
the XRay runtime and the link-time dependencies for XRay instrumentation
in OpenBSD.

Landing for devnexen.

Reviewers: brad, dberris

Subscribers: dberris, krytarowski, cfe-commits

Author: devnexen

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

llvm-svn: 329183
clang/lib/Driver/ToolChains/OpenBSD.cpp
clang/lib/Driver/XRayArgs.cpp