summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2020-02-12 20:00:20 -0800
committerYonghong Song <yhs@fb.com>2020-02-12 20:43:06 -0800
commit61bd33e37b1d4f3feda50162ec196e5e14759686 (patch)
tree5a064caa5a90cd6566f9ae9fe6639582df9fbb41 /lldb/test/API/functionalities/plugins/python_os_plugin
parent70cac41a2b7e4a7a28c36a544c9813c833d494bb (diff)
[BPF] explicit warning of not supporting dynamic stack allocation
Currently, BPF does not support dynamic static allocation. For a program like below: extern void bar(int *); void foo(int n) { int a[n]; bar(a); } The current error message looks like: unimplemented operand UNREACHABLE executed at /.../llvm/lib/Target/BPF/BPFISelLowering.cpp:199! Let us make error message explicit so it will be clear to the user what is the problem. With this patch, the error message looks like: fatal error: error in backend: Unsupported dynamic stack allocation ... Differential Revision: https://reviews.llvm.org/D74521
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin')
0 files changed, 0 insertions, 0 deletions