[PATCH] D43021: Recognize a buch of CPU/NetBSD ports of GetPcSpBp()

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 07:33:02 PST 2018


krytarowski created this revision.
krytarowski added reviewers: joerg, vitalybuka, ro.
krytarowski added a project: Sanitizers.
Herald added subscribers: fedor.sergeev, kristof.beyls, arichardson, kubamracek, sdardis, jyknight, aemerson.

Add NetBSD support in GetPcSpBp() for:

- ARM
- HPPA
- PowerPC/PowerPC64
- SPARC/SPARC64
- MIPS
- DEC Alpha AXP
- DEC VAX
- M68K and M68010
- SH3

Recognize the ports in ubsan_platform.h as UBSan capable ones.

Original patch obtained from Matthew Green from NetBSD via
libsanitizer from GCC.

This commit contains small cleanup in preprocessor macros.

Sponsored by <The NetBSD Foundation>


Repository:
  rL LLVM

https://reviews.llvm.org/D43021

Files:
  lib/sanitizer_common/sanitizer_linux.cc
  lib/ubsan/ubsan_platform.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43021.133213.patch
Type: text/x-patch
Size: 6156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180207/9bf0b229/attachment.bin>


More information about the llvm-commits mailing list