mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:27:43 +00:00
LibSanitizer+AK: Add float cast overflow handler
This is not enabled by default in GCC, but is in Clang.
This commit is contained in:
parent
e04d20ec20
commit
653d22e21f
2 changed files with 13 additions and 0 deletions
|
@ -117,4 +117,10 @@ struct PointerOverflowData {
|
|||
SourceLocation location;
|
||||
};
|
||||
|
||||
struct FloatCastOverflowData {
|
||||
SourceLocation location;
|
||||
TypeDescriptor const& from_type;
|
||||
TypeDescriptor const& to_type;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue