diff options
author | gonglingqin <gonglingqin@loongson.cn> | 2022-10-31 09:18:20 +0800 |
---|---|---|
committer | gonglingqin <gonglingqin@loongson.cn> | 2022-10-31 09:19:00 +0800 |
commit | be8a2b98da582d4cfd96be3b2cf561679a72bbb0 (patch) | |
tree | facfddae8ee50770ec865f457862052bcaefd3b5 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | cd0174aacb734904205ed7827fb923acda08f79a (diff) | |
download | llvm-be8a2b98da582d4cfd96be3b2cf561679a72bbb0.zip llvm-be8a2b98da582d4cfd96be3b2cf561679a72bbb0.tar.gz llvm-be8a2b98da582d4cfd96be3b2cf561679a72bbb0.tar.bz2 |
[LoongArch] Replace assertion by error message while lowering RETURNADDR and FRAMEADDR
If `__builtin_frame_address` or `__builtin_return_address` is invoked with
non-zero argument, show an error message instead of a crash.
Reference: https://reviews.llvm.org/rG83b88441ad951fe99c30402930ef3cd661f2fd2b
Differential Revision: https://reviews.llvm.org/D136917
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions