[llvm] [CMake] Check objcopy support for LLVM_SPLIT_DWARF (PR #80500)

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 3 22:00:50 PST 2024


joker-eph wrote:

> The objcopy requirement is only for GCC. Clang doesn't use objcopy for -gsplit-dwarf.

That's fine, we can adjust the check to only being performed if GCC is used...

> I understand the desire to add some check to prevent any inconvenience, but I strongly believe the objcopy check is not only busy work here but also harmful (for systems not using binutils, etc).

You seem to understand all the moving pieces here: can you suggest a sequence of checks that would make sense?


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


More information about the llvm-commits mailing list