From: Brad Smith Date: Fri, 3 Sep 2021 21:31:26 +0000 (-0400) Subject: OpenBSD also needs execinfo X-Git-Tag: upstream/15.0.7~32259 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b989662eb000efb54b91b8c82d2b2713e2da20fc;p=platform%2Fupstream%2Fllvm.git OpenBSD also needs execinfo --- diff --git a/clang/lib/Driver/ToolChains/CommonArgs.cpp b/clang/lib/Driver/ToolChains/CommonArgs.cpp index 412d41d..ca42695 100644 --- a/clang/lib/Driver/ToolChains/CommonArgs.cpp +++ b/clang/lib/Driver/ToolChains/CommonArgs.cpp @@ -779,7 +779,8 @@ void tools::linkSanitizerRuntimeDeps(const ToolChain &TC, CmdArgs.push_back("-ldl"); // Required for backtrace on some OSes if (TC.getTriple().isOSFreeBSD() || - TC.getTriple().isOSNetBSD()) + TC.getTriple().isOSNetBSD() || + TC.getTriple().isOSOpenBSD()) CmdArgs.push_back("-lexecinfo"); }