extern "C" const char *__asan_default_options() { return "detect_stack_use_after_return=0"; } void qux(int& y) {} struct alignas(64) Foo { int a[16] = {}; }; void hoge(Foo x) {} void foo(); int main() { foo(); return 0; } Compile with clang++ -o foo foo.cc...
I grabbed a copy ofr-devel-ubsan-clangbut when I pass-fsanitize=undefined,addressin my CFLAGS the compile fails withundefined symbol: __asan_option_detect_stack_use_after_return. Should I link to something? root@fedd6a23715b:~#R CMD INSTALL curl*installing to library ‘/usr/local/lib/R...
[Bug middle-end/110027] [11/12 regression] Stack objects with extended alignments (vectors etc) misaligned on detect_stack_use_after_return https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 Christoph Erhardt <gcc at sicherha dot de> changed: What |Removed |Added --- Attachment #56169|0...