Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 2f7d77c in mainline for kernel/generic/include/lib/memfnc.h


Ignore:
Timestamp:
2018-06-14T19:02:26Z (3 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
master
Children:
587478b
Parents:
abf8bd8
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-14 17:48:39)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-14 19:02:26)
Message:

Add rudimentary support for undefined behavior sanitizer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/lib/memfnc.h

    rabf8bd8 r2f7d77c  
    5151    __attribute__((nonnull(1, 2)))
    5252    ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns") DO_NOT_DISCARD;
     53extern int memcmp(const void *, const void *, size_t len)
     54    __attribute__((nonnull(1, 2)))
     55    ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns") DO_NOT_DISCARD;
    5356
    5457#define alloca(size) __builtin_alloca((size))
Note: See TracChangeset for help on using the changeset viewer.