diff options
author | Ayke van Laethem <aykevanlaethem@gmail.com> | 2020-03-14 18:55:13 +0100 |
---|---|---|
committer | Ayke van Laethem <aykevanlaethem@gmail.com> | 2020-03-17 13:21:03 +0100 |
commit | 4add24920550beeaed15b24e6427154a58b02e50 (patch) | |
tree | c1f545da2b13e69611ce0e2fbc4401d9349dd489 /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 0818e6cf1d30dcac1fc4dcde60e01f8389e725f9 (diff) | |
download | llvm-4add24920550beeaed15b24e6427154a58b02e50.zip llvm-4add24920550beeaed15b24e6427154a58b02e50.tar.gz llvm-4add24920550beeaed15b24e6427154a58b02e50.tar.bz2 |
[AVR] Add support for the -mdouble=x flag
This flag is used by avr-gcc (starting with v10) to set the width of the
double type. The double type is by default interpreted as a 32-bit
floating point number in avr-gcc instead of a 64-bit floating point
number as is common on other architectures. Starting with GCC 10, a new
option has been added to control this behavior:
https://gcc.gnu.org/wiki/avr-gcc#Deviations_from_the_Standard
This commit keeps the default double at 32 bits but adds support for the
-mdouble flag (-mdouble=32 and -mdouble=64) to control this behavior.
Differential Revision: https://reviews.llvm.org/D76181
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions