diff options
author | Paul Robinson <paul_robinson@playstation.sony.com> | 2016-03-24 00:10:03 +0000 |
---|---|---|
committer | Paul Robinson <paul_robinson@playstation.sony.com> | 2016-03-24 00:10:03 +0000 |
commit | f81836bd18be6fb8bc6fe9942053f418dbb13d98 (patch) | |
tree | d27cc0e2ec19f80a0aa8f3f4df8235215053bf34 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 1ee9fbd842273ab3fb6748c34d9f159a10ccb0d0 (diff) | |
download | llvm-f81836bd18be6fb8bc6fe9942053f418dbb13d98.zip llvm-f81836bd18be6fb8bc6fe9942053f418dbb13d98.tar.gz llvm-f81836bd18be6fb8bc6fe9942053f418dbb13d98.tar.bz2 |
[PS4] Guarantee an instruction after a 'noreturn' call.
We need the "return address" of a noreturn call to be within the
bounds of the calling function; TrapUnreachable turns 'unreachable'
into a 'ud2' instruction, which has that desired effect.
Differential Revision: http://reviews.llvm.org/D18414
llvm-svn: 264224
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions