diff options
author | Sam Clegg <sbc@chromium.org> | 2018-01-17 20:19:04 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2018-01-17 20:19:04 +0000 |
commit | 1963d71cb8b8b4e66d71d83cde3d23f059386bcc (patch) | |
tree | d5569898cfbdf1db3ccfdeb2924a7718c49a6e75 /clang/examples/analyzer-plugin/MainCallChecker.cpp | |
parent | 6d83f34afdb0833ae5d7173daf0f8e009e95afa0 (diff) | |
download | bcm5719-llvm-1963d71cb8b8b4e66d71d83cde3d23f059386bcc.tar.gz bcm5719-llvm-1963d71cb8b8b4e66d71d83cde3d23f059386bcc.zip |
[WebAssembly] Simplify generation of "names" section
Simplify generation of "names" section by simply iterating
over the DefinedFunctions array.
This even fixes some bugs, judging by the test changes required.
Some tests are asserting that functions are named multiple times,
other tests are asserting that the "names" section contains the
function's alias rather than its original name
Patch by Nicholas Wilson!
Differential Revision: https://reviews.llvm.org/D42076
llvm-svn: 322751
Diffstat (limited to 'clang/examples/analyzer-plugin/MainCallChecker.cpp')
0 files changed, 0 insertions, 0 deletions