summaryrefslogtreecommitdiff
path: root/src/support/command-line.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-03-05 16:55:09 -0800
committerGitHub <noreply@github.com>2020-03-05 16:55:09 -0800
commitdc264342e4d304a77da92642a737bbeb49d0c9ac (patch)
tree51962b62e361d510d867b9915551b4085d9c1dbd /src/support/command-line.cpp
parent9e3dbb1f668a14341e9aebae479537d4a26095a5 (diff)
downloadbinaryen-dc264342e4d304a77da92642a737bbeb49d0c9ac.tar.gz
binaryen-dc264342e4d304a77da92642a737bbeb49d0c9ac.tar.bz2
binaryen-dc264342e4d304a77da92642a737bbeb49d0c9ac.zip
Asyncify: Fix wasm-only instrumentation of unnamed imports (#2682)
We assumed that the imports were already named (in their internal name) properly. When processing a binary file without names, or if the names don't match in general, that's not true. To fix this, use ModuleUtils::renameFunctions to do a proper renaming up front. Also fix renameFunctions to not assert on the case of renaming a function to the same name it already has. Helps #2680
Diffstat (limited to 'src/support/command-line.cpp')
0 files changed, 0 insertions, 0 deletions