diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2019-01-17 18:14:09 +0000 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2019-01-17 18:14:09 +0000 |
commit | f3b762a0b6cef251afef8907cb4cf5b35bffb0d8 (patch) | |
tree | af4c08803d459a5cf507925550e5913dc1db464d /lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp | |
parent | 194d00e1425c8aceefc82d4410285310868d74de (diff) | |
download | bcm5719-llvm-f3b762a0b6cef251afef8907cb4cf5b35bffb0d8.tar.gz bcm5719-llvm-f3b762a0b6cef251afef8907cb4cf5b35bffb0d8.zip |
[WebAssembly] Fixed objdump not parsing function headers.
Summary:
objdump was interpreting the function header containing the locals
declaration as instructions. To parse these without injecting target
specific code in objdump, MCDisassembler::onSymbolStart was added to
be implemented by the WebAssembly implemention.
WasmObjectFile now returns a code offset for the "address" of a symbol,
rather than the index. This is also more in-line with what other
targets do.
Also ensured that the AsmParser correctly puts each function
in its own segment to enable this test case.
Reviewers: sbc100, dschuff
Subscribers: jgravelle-google, aheejin, sunfish, rupprecht, llvm-commits
Differential Revision: https://reviews.llvm.org/D56684
llvm-svn: 351460
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp')
0 files changed, 0 insertions, 0 deletions