[clang] [clang-repl] Fix PLT offset too large linker error on ARM (PR #78959)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 08:04:08 PST 2024


Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/78959 at github.com>


shiltian wrote:

> Oh, that's unfortunate. Let me add a check for `LLVM_USE_LINKER=gold`. AFAIK it's never used on macOS.

It might be better to check linker flag (https://cmake.org/cmake/help/latest/module/CheckLinkerFlag.html).

https://github.com/llvm/llvm-project/pull/78959


More information about the cfe-commits mailing list