[libcxx-commits] [PATCH] D138527: [libc++abi] Simplify __cxa_get_globals_fast callsites
Fangrui Song via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 22 14:43:55 PST 2022
MaskRay added inline comments.
================
Comment at: libcxxabi/test/test_exception_storage.pass.cpp:21
void* fast_globals = __cxxabiv1::__cxa_get_globals_fast();
+ if (!fast_globals)
+ std::fprintf(stderr, "Got null result from __cxa_get_globals_fast\n");
----------------
The adjustment should be merged into D138460
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138527/new/
https://reviews.llvm.org/D138527
More information about the libcxx-commits
mailing list