summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2014-01-05 01:47:20 +0000
committerBill Wendling <isanbard@gmail.com>2014-01-05 01:47:20 +0000
commitdf7dd28dc81e23a3bac655cec89dc4ab543375b7 (patch)
treedbe9dd627c73cf6eb458de43f13f969239b91fc0 /llvm/unittests
parent5999d475386ee68df51e50bf888bbd62d5b3b90b (diff)
downloadbcm5719-llvm-df7dd28dc81e23a3bac655cec89dc4ab543375b7.tar.gz
bcm5719-llvm-df7dd28dc81e23a3bac655cec89dc4ab543375b7.zip
Emit an error message if the value passed to __builtin_returnaddress isn't a constant
__builtin_returnaddress requires that the value passed into is be a constant. However, at -O0 even a constant expression may not be converted to a constant. Emit an error message intead of crashing. llvm-svn: 198531
Diffstat (limited to 'llvm/unittests')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud