[clang] [llvm] [HIP][MacOS] Mach-O support and Darwin toolchain fixes (PR #183991)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 2 05:16:40 PDT 2026
================
@@ -668,6 +668,16 @@ class ObjectFileHandler final : public FileHandler {
StringSaver SS{Alloc};
SmallVector<StringRef, 8u> ObjcopyArgs{"llvm-objcopy"};
+ // Detect if host object is Mach-O to skip unsupported flags.
+ bool IsObjectMachO = false;
+ {
----------------
jhuber6 wrote:
Why the parens? Doesn't identify_magic also have a helper for filenames or am I misremembering.
https://github.com/llvm/llvm-project/pull/183991
More information about the cfe-commits
mailing list