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 /llvm/lib/Support/regcomp.c | |
| parent | 1ee9fbd842273ab3fb6748c34d9f159a10ccb0d0 (diff) | |
| download | bcm5719-llvm-f81836bd18be6fb8bc6fe9942053f418dbb13d98.tar.gz bcm5719-llvm-f81836bd18be6fb8bc6fe9942053f418dbb13d98.zip | |
[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 'llvm/lib/Support/regcomp.c')
0 files changed, 0 insertions, 0 deletions

