summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2018-12-03 20:30:28 +0000
committerWouter van Oortmerssen <aardappel@gmail.com>2018-12-03 20:30:28 +0000
commitc7b89f0f626b733b631e30b73f8aa35c1122190e (patch)
treef707fe43189bb9192f4370fd5664c1efc72941b1 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
parentdc7d7e3fe81b94e4370d1f83c758890f5d49eccd (diff)
downloadbcm5719-llvm-c7b89f0f626b733b631e30b73f8aa35c1122190e.tar.gz
bcm5719-llvm-c7b89f0f626b733b631e30b73f8aa35c1122190e.zip
[WebAssembly] Enforce assembler emits to streamer in order.
Summary: The assembler processes directives and instructions in whatever order they are in the file, then directly emits them to the streamer. This could cause badly written (or generated) .s files to produce incorrect binaries. It now has state that tracks what it has most recently seen, to enforce they are emitted in a given order that always produces correct wasm binaries. Also added a new test that compares obj2yaml output from llc (the backend) to that going via .s and the assembler to ensure both paths generate the same binaries. The features this test covers could be extended. Passes all wasm Lit tests. Fixes: https://bugs.llvm.org/show_bug.cgi?id=39557 Reviewers: sbc100, dschuff, aheejin Subscribers: jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D55149 llvm-svn: 348185
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud