================ @@ -11,20 +11,27 @@ // Basic test for float registers number are accepted. -#include <dlfcn.h> #include <stdlib.h> #include <string.h> #include <unwind.h> +// Using __attribute__((section("main_func"))) is Linux specific, but then ---------------- arichardson wrote:
Nit: This is not specific to Linux it is specific to the behaviour of ELF linkers that automatically create these symbols for sections that are valid C identifiers. https://github.com/llvm/llvm-project/pull/85097 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits