summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2018-01-19 17:45:54 +0000
committerDerek Schuff <dschuff@google.com>2018-01-19 17:45:54 +0000
commitbfb02aec5a86de2ee8b4a88f03675e50a8e03460 (patch)
tree3bfd13dd01d9a3c7cdf08d03866d4f3e75819099 /libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp
parent99894b61baaa37fd03d0311e882e731dd143f1e6 (diff)
downloadbcm5719-llvm-bfb02aec5a86de2ee8b4a88f03675e50a8e03460.tar.gz
bcm5719-llvm-bfb02aec5a86de2ee8b4a88f03675e50a8e03460.zip
[WebAssembly] Fix libcall signature lookup
RuntimeLibcallSignatures previously manually initialized all the libcall names into an array and searched it linearly for the first match to lookup the corresponding index. r322802 switched that to initializing a map keyed by the libcall name. Neither of these approaches works correctly because some libcall numbers use the same name on different platforms (e.g. the "l" suffixed functions use f80 or f128 or ppcf128). This change fixes that by ensuring that each name only goes into the map once. It also adds tests. Differential Revision: https://reviews.llvm.org/D42271 llvm-svn: 322971
Diffstat (limited to 'libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/replace_if.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud