diff options
author | George Rimar <grimar@accesssoftek.com> | 2019-08-27 09:58:39 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2019-08-27 09:58:39 +0000 |
commit | 7a2e21d9f4dc268837555c26fbaffa3675ea749e (patch) | |
tree | 413c12ddd0d42526371b39da4396e6973d4f0b9c /lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py | |
parent | 37a188b6e84b751bf4c82a5461dc7c40192a5972 (diff) | |
download | bcm5719-llvm-7a2e21d9f4dc268837555c26fbaffa3675ea749e.tar.gz bcm5719-llvm-7a2e21d9f4dc268837555c26fbaffa3675ea749e.zip |
[yaml2obj] - Don't allow setting StOther and Other/Visibility at the same time.
This is a follow up discussed in the comments of D66583.
Currently, if for example, we have both StOther and Other set in YAML document for a symbol,
then yaml2obj reports an "unknown key 'Other'" error.
It happens because 'mapOptional()' is never called for 'Other/Visibility' in this case,
leaving those unhandled.
This message does not describe the reason of the error well. This patch fixes it.
Differential revision: https://reviews.llvm.org/D66642
llvm-svn: 370032
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py')
0 files changed, 0 insertions, 0 deletions