[clang][driver][AIX] Add OpenMP runtime if -fopenmp specified
authorXing Xue <xingxue@outlook.com>
Thu, 19 Jan 2023 17:46:22 +0000 (12:46 -0500)
committerXing Xue <xingxue@outlook.com>
Thu, 19 Jan 2023 17:46:22 +0000 (12:46 -0500)
commitb05fa4faf64d6c6811bbecead13dc7c23ac43aca
treeb7a7cf64f1fd19f46bfebec7e859851234ce768a
parentb3faa1a87ac37e3825a67368dfb8dcfef95f4c53
[clang][driver][AIX] Add OpenMP runtime if -fopenmp specified

Summary:
This patch adds OpenMP runtime to the linker command line if -fopenmp is specifed for AIX.

Reviewed by: daltenty

Differential Revision: https://reviews.llvm.org/D141862
clang/lib/Driver/ToolChains/AIX.cpp
clang/test/Driver/aix-ld.c