llvm-project/libcxxabi/src
Saleem Abdulrasool e113b5e9af c++abi: use __builtin_offsetof instead of offsetof
Use `__builtin_offsetof` in place of `offsetof`.  Certain environments provide a
macro definition of `offsetof` which may end up causing issues.  This was
observed on Windows.  Use `__builtin_offsetof` to ensure correct evaluation
everywhere.  NFC.

llvm-svn: 253435
2015-11-18 05:33:38 +00:00
..
CMakeLists.txt [libcxxabi] Add "install-libcxxabi" target. 2015-08-19 17:17:21 +00:00
abort_message.cpp Fix build for apple machines. 2015-02-06 01:25:08 +00:00
abort_message.h Work on restricting symbol visibility. 2012-02-02 20:47:28 +00:00
config.h s/LIBCXXABI_SINGLE_THREADED/LIBCXXABI_HAS_NO_THREADS/ for consistency with libcxx 2014-09-05 17:46:40 +00:00
cxa_aux_runtime.cpp Adding ABI support for __cxa_throw_bad_array_new_length. 2014-09-11 17:26:43 +00:00
cxa_default_handlers.cpp Use __atomic_exchange_n instead of Clang's __sync_swap 2014-10-03 20:03:47 +00:00
cxa_demangle.cpp Fix Bug 25103 - _cxa_demangle improperly demangles virtual thunks. Thanks to Jason King for the report and suggested fix 2015-10-12 20:45:05 +00:00
cxa_exception.cpp c++abi: use __builtin_offsetof instead of offsetof 2015-11-18 05:33:38 +00:00
cxa_exception.hpp Formatting fixes. 2015-02-05 23:48:06 +00:00
cxa_exception_storage.cpp s/LIBCXXABI_SINGLE_THREADED/LIBCXXABI_HAS_NO_THREADS/ for consistency with libcxx 2014-09-05 17:46:40 +00:00
cxa_guard.cpp Enable -Wundef. 2015-02-05 01:33:15 +00:00
cxa_handlers.cpp Declare __cxa_new_handler as extern "C", or it declares a new variable 2015-04-15 15:35:56 +00:00
cxa_handlers.hpp Bruce Mitchener: Typo fixes. 2013-02-15 15:48:49 +00:00
cxa_new_delete.cpp If libc++ has not declared bad_array_length, then declare it here just so that it gets into the binary. 2013-11-07 17:16:37 +00:00
cxa_personality.cpp EH: fix register usage for SjLj 2015-09-20 02:08:31 +00:00
cxa_thread_atexit.cpp [libcxxabi] Add __cxa_thread_atexit for TLS support on Linux. 2014-12-18 00:03:57 +00:00
cxa_unexpected.cpp Add a descriptive name for a constant. Also I'm at least temporarily waging war on throw specs, both old and new style. Except where we have already publicly exposed the throw spec, I'm getting rid of them. They may come back later. But they seem somewhat prone to cyclic dependencies here. The throw spec implies compiler generated code that this library has to jump to during stack unwinding. I'd like to minimize the possiblity that the code used to properly make that jump is itself creating such jumps. 2012-01-30 16:07:00 +00:00
cxa_vector.cpp Fix build with GCC: 2015-03-05 02:56:05 +00:00
cxa_virtual.cpp
exception.cpp Add some needed symbols in exception.cpp and eliminate dependence upon uncaught_exception() from cxa_vector.cpp. libc++abi is very nearly a self-contained (though not complete) library now. 2012-01-24 21:48:10 +00:00
fallback_malloc.ipp fallback_malloc: silence conversion warning (NFC) 2015-06-03 17:25:35 +00:00
private_typeinfo.cpp Disallow conversions from function pointers to void*. 2015-05-01 01:49:37 +00:00
private_typeinfo.h [libcxxabi] Fix multi-level pointer conversions and pointer to member conversion detection. 2015-04-02 23:26:37 +00:00
stdexcept.cpp Make libc++abi use the implementation of __numstr from libc++. No functionality change, just removal of duplicated code. 2014-05-07 20:17:41 +00:00
typeinfo.cpp Work on restricting symbol visibility. 2012-02-02 20:47:28 +00:00