summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2025-03-24 18:29:05 -0500
committerGitHub <noreply@github.com>2025-03-24 18:29:05 -0500
commitef2735d2436fd14288d1766a152f3a10f36a4af9 (patch)
tree4130515aad419f1091eb1a43c975c9e96697d2e7 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentc221d6420687660b5d03df7051e5501a51a339c6 (diff)
[Flang] Detect endianness in the preprocessor (#132767)
Summary: Currently we use `TestBigEndian` in CMake to determine endianness. This doesn't work on all platforms and is deprecated since CMake 3.20. Instead of using CMake, we can just use the GNU/Clang preprocessor definitions. The only difficulty is MSVC, mostly because they don't support the same macros. But, as far as I'm aware, MSVC / Windows targets are always little endian, and if not we can just override it for that specific target in the future.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions