Skip to content

Commit dfd25c9

Browse files
committed
Add trap and unreachable builtins to std.cfg
Taken from cfg/gnu.cfg as these are not really tied to GNU.
1 parent bcd74c7 commit dfd25c9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cfg/std.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8820,6 +8820,11 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
88208820
<noreturn>true</noreturn>
88218821
<leak-ignore/>
88228822
</function>
8823+
<!-- void __builtin_trap (void) -->
8824+
<!-- void __builtin_unreachable (void) -->
8825+
<function name="__builtin_trap,__builtin_unreachable">
8826+
<noreturn>true</noreturn>
8827+
</function>
88238828
<memory>
88248829
<alloc init="false" buffer-size="malloc">malloc,std::malloc</alloc>
88258830
<alloc init="true" buffer-size="calloc">calloc,std::calloc</alloc>

0 commit comments

Comments
 (0)