[PATCH] D28791: [compiler-rt][crt] Simple crtbegin and crtend implementation
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 4 20:36:22 PDT 2019
phosek marked an inline comment as done.
phosek added inline comments.
================
Comment at: compiler-rt/lib/crt/crtbegin.c:21
+static long __EH_FRAME_LIST__[]
+ __attribute__((section(".eh_frame"), aligned(sizeof(void *)))) = {};
+
----------------
phillipjohnston wrote:
> Is there an alternative to a zero-length array here?
Alternative would be to use assembly but that's less portable and I'm not sure if we would gain anything by doing so.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D28791/new/
https://reviews.llvm.org/D28791
More information about the llvm-commits
mailing list