llvm-project/compiler-rt/lib/ubsan_minimal
Filipe Cabecinhas 237d4c2eab [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
2017-12-15 17:30:50 +00:00
..
CMakeLists.txt [ubsan-minimal] Get rid of the libc++ dependency. 2017-11-11 02:32:02 +00:00
ubsan.syms.extra
ubsan_minimal_handlers.cc [ubsan-minimal] Add a path for non-POSIX (and bare-metal) use of the library 2017-12-15 17:30:50 +00:00