================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits