zhuhan0 added a comment. Thanks @hans My bad. Didn't test this when LLVM_ENABLE_PIC=OFF.
Submitted D79059 <https://reviews.llvm.org/D79059> to better solve this problem. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D78534/new/ https://reviews.llvm.org/D78534 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits