summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2019-02-19 16:22:21 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2019-02-19 16:22:21 +0000
commitd82914c8d271cc6735d03ec07ce151d568f8b716 (patch)
tree4e2b1a4dbfebf53c899b75c431b859d350b0eadc /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parentd6add7491564bc6961e9b92925fe70daa25a80e9 (diff)
downloadbcm5719-llvm-d82914c8d271cc6735d03ec07ce151d568f8b716.tar.gz
bcm5719-llvm-d82914c8d271cc6735d03ec07ce151d568f8b716.zip
[yaml2obj][obj2yaml] Remove section type range markers from allowed mappings and support hex values
yaml2obj/obj2yaml previously supported SHT_LOOS, SHT_HIOS, and SHT_LOPROC for section types. These are simply values that delineate a range and don't really make sense as valid values. For example if a section has type value 0x70000000, obj2yaml shouldn't print this value as SHT_LOPROC. Additionally, this was missing the three other range markers (SHT_HIPROC, SHT_LOUSER and SHT_HIUSER). This change removes these three range markers. It also adds support for specifying the type as an integer, to allow section types that LLVM doesn't know about. Reviewed by: grimar Differential Revision: https://reviews.llvm.org/D58383 llvm-svn: 354344
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud