diff options
author | Mark Lacey <mark.lacey@apple.com> | 2016-03-10 05:15:03 +0000 |
---|---|---|
committer | Mark Lacey <mark.lacey@apple.com> | 2016-03-10 05:15:03 +0000 |
commit | 125bb29c65320d8b37c76d37fbb5650453746146 (patch) | |
tree | af147b46654bd3cae3096943713136f7e90c9c3d /llvm/lib/Analysis/CallGraph.cpp | |
parent | 03e41ee6a78064ae55ac87b66b1ac763c1c9456c (diff) | |
download | llvm-125bb29c65320d8b37c76d37fbb5650453746146.zip llvm-125bb29c65320d8b37c76d37fbb5650453746146.tar.gz llvm-125bb29c65320d8b37c76d37fbb5650453746146.tar.bz2 |
Add an LLVM_BUILTIN_DEBUGTRAP macro.
Summary:
This provides a macro that expands to __builtin_debugtrap() for clang,
and __debugbreak() for MSVC.
It intentionally expands to nothing for compilers that do not support a
similar mechanism that halts the debugger without otherwise crashing the
process.
Differential Revision: http://reviews.llvm.org/D18002
llvm-svn: 263095
Diffstat (limited to 'llvm/lib/Analysis/CallGraph.cpp')
0 files changed, 0 insertions, 0 deletions