diff options
| author | Ties Stuij <ties.stuij@arm.com> | 2022-10-18 13:47:03 +0100 |
|---|---|---|
| committer | Ties Stuij <ties.stuij@arm.com> | 2022-10-18 14:38:03 +0100 |
| commit | 95bbe9a1930886cffc79f1f5b953f5aafff1557f (patch) | |
| tree | 7b1898acc351ef3d0a0c3b05e1b726a27ed58bde /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | bb3c90d3ecd142e60cf994338bdd4b59d8788cd3 (diff) | |
[clang][ARM] follow GCC behavior for defining __SOFTFP__
GCC behavior regarding defining __SOFTFP__ when (implicitly) specifying
-mfloat-abi=softfp:
- compile without (implicit) FP: define __SOFTFP__
- compile with (implicit) FP: don't define __SOFTFP__
Currently Clang doesn't define __SOFTFP__ when softfp is specified, either with
or without FP. This patch brings Clang in line with GCC behavior.
This was raised by itaig1 over on Github:
https://github.com/llvm/llvm-project/issues/55755
Reviewed By: pratlucas
Differential Revision: https://reviews.llvm.org/D135680
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
