summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2018-08-17 18:51:11 +0000
committerJordan Rupprecht <rupprecht@google.com>2018-08-17 18:51:11 +0000
commitcf67633e66de0853ed061dd38960623209aa9dba (patch)
tree94c5ddb942206dd032741ffe052c4e957f85050c /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
parentda5864c73c454441fe1ffdb309d5022eeda3f284 (diff)
downloadbcm5719-llvm-cf67633e66de0853ed061dd38960623209aa9dba.tar.gz
bcm5719-llvm-cf67633e66de0853ed061dd38960623209aa9dba.zip
[llvm-objcopy] Add support for -I binary -B <arch>.
Summary: The -I (--input-target) and -B (--binary-architecture) flags exist but are currently silently ignored. This adds support for -I binary for architectures i386, x86-64 (and alias i386:x86-64), arm, aarch64, sparc, and ppc (powerpc:common64). This is largely based on D41687. This is done by implementing an additional subclass of Reader, BinaryReader, which works by interpreting the input file as contents for .data field, sets up a synthetic header, and adds additional sections/symbols (e.g. _binary__tmp_data_txt_start). Reviewers: jakehehrlich, alexshap, jhenderson, javed.absar Reviewed By: jhenderson Subscribers: jyknight, nemanjai, kbarton, fedor.sergeev, jrtc27, kristof.beyls, paulsemel, llvm-commits Differential Revision: https://reviews.llvm.org/D50343 llvm-svn: 340070
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud