diff options
author | Filipe Cabecinhas <me@filcab.net> | 2017-12-15 17:30:50 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2017-12-15 17:30:50 +0000 |
commit | 237d4c2eabc339f18bb9fc2d533e163357976507 (patch) | |
tree | d44625c89f3940a5760050b47af1c0ac6156326f /llvm/lib/Object | |
parent | a16395008cbe49da844d2ee020d09bfb1d6e4e88 (diff) | |
download | bcm5719-llvm-237d4c2eabc339f18bb9fc2d533e163357976507.tar.gz bcm5719-llvm-237d4c2eabc339f18bb9fc2d533e163357976507.zip |
[ubsan-minimal] Add a path for non-POSIX (and bare-metal) use of the library
Summary:
Hook on -DKERNEL_USE (which is also used in lib/builtins) to not import
strlen and not rely on write() being implemented with the stderr on fd 2.
With this, the only requirements to use this library are:
- "Good enough" std::atomic<void*> and std::atomic<int>
- abort() being implemented
- ubsan_message(const char*) being implemented
Reviewers: eugenis
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D39791
llvm-svn: 320831
Diffstat (limited to 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions