[libunwind] [libunwind] Tweak tests for musl support. (PR #85097)
Alexander Richardson via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 21 15:29:02 PDT 2024
================
@@ -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
More information about the cfe-commits
mailing list