Author: Shuhong Liu <shuhong.liu@ibm.com>
authorShuhong Liu <shuhong.liu@ibm.com>
Mon, 10 Aug 2020 14:27:04 +0000 (10:27 -0400)
committerShuhong Liu <shuhong.liu@ibm.com>
Mon, 10 Aug 2020 14:27:04 +0000 (10:27 -0400)
commitb129c9d81aff8ece71eb29df1e5f31136a48c040
treead8899531938b2bb36d57e0db29ad6c69832a200
parent6ef801aa6bc01fc49a8e83ddb217470b5e2337dd
Author: Shuhong Liu <shuhong.liu@ibm.com>
Date:   Mon Aug 10 10:31:50 2020 +0300

    [AIX][Clang][Driver] Generate reference to the C++ library on the link step

    Have the linker find libc++ on its search path by adding -lc++.

    Reviewed by: daltenty, hubert.reinterpretcast, stevewan

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