llvm-project/libunwind/src
Saleem Abdulrasool 68c50708d1 unwind: use a more portable endianness check in EHABI
The ARM specific code was trying to determine endianness using the
`__LITTLE_ENDIAN__` macro which is not guaranteed to be defined.
When not defined, it makes libunwind to build the big-endian code even
when the compiler builds for a little-endian target.

This change allows building libunwind with the `musl-gcc` toolchain
which does not define `__LITTLE_ENDIAN__`.  Use `__BYTE_ORDER__`
instead.

Patch by Idan Freiberg!
2020-05-29 08:28:37 -07:00
..
AddressSpace.hpp Cache uwnind frame headers as they are found. 2020-03-12 10:53:33 -07:00
CMakeLists.txt [libunwind][CMake] Treat S files as C to work around CMake bug. 2020-02-20 15:26:09 -08:00
CompactUnwinder.hpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
DwarfInstructions.hpp [libunwind] Fix evaluating DWARF operation DW_OP_pick 2019-12-18 12:22:21 -08:00
DwarfParser.hpp unwind: fix unwind build without heap 2020-05-15 14:45:22 -07:00
EHHeaderParser.hpp [libunwind] Fix UB in EHHeaderParser::findFDE 2020-04-07 14:44:42 -07:00
FrameHeaderCache.hpp Cache uwnind frame headers as they are found. 2020-03-12 10:53:33 -07:00
RWMutex.hpp [libunwind] Emit dependent libraries only when detected by CMake 2019-12-01 17:17:51 +01:00
Registers.hpp [libunwind] add hexagon support 2020-04-10 04:24:10 -05:00
Unwind-EHABI.cpp unwind: use a more portable endianness check in EHABI 2020-05-29 08:28:37 -07:00
Unwind-EHABI.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
Unwind-seh.cpp unwind: rename `__personality_routine` to `_Unwind_Personality_Fn` 2020-02-10 08:52:31 -08:00
Unwind-sjlj.c unwind: rename `__personality_routine` to `_Unwind_Personality_Fn` 2020-02-10 08:52:31 -08:00
UnwindCursor.hpp [libunwind] add hexagon support 2020-04-10 04:24:10 -05:00
UnwindLevel1-gcc-ext.c unwind: rename `__personality_routine` to `_Unwind_Personality_Fn` 2020-02-10 08:52:31 -08:00
UnwindLevel1.c unwind: rename `__personality_routine` to `_Unwind_Personality_Fn` 2020-02-10 08:52:31 -08:00
UnwindRegistersRestore.S [libunwind] add hexagon support 2020-04-10 04:24:10 -05:00
UnwindRegistersSave.S [libunwind] add hexagon support 2020-04-10 04:24:10 -05:00
Unwind_AppleExtras.cpp [libunwind] Clean up __arm64__ 2020-04-09 15:46:48 -07:00
assembly.h [libunwind] add hexagon support 2020-04-10 04:24:10 -05:00
config.h [libunwind] add hexagon support 2020-04-10 04:24:10 -05:00
dwarf2.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
libunwind.cpp [libunwind] add hexagon support 2020-04-10 04:24:10 -05:00
libunwind_ext.h [libunwind] Export the unw_* symbols as weak symbols 2019-04-03 21:50:03 +00:00