summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Module.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-02-20 22:40:57 +0000
committerSam Clegg <sbc@chromium.org>2019-02-20 22:40:57 +0000
commit6028c969ac8513791d9998797f29a3ae2086aa20 (patch)
treecbb02f67404246942489f03632474714673b5440 /lldb/source/Core/Module.cpp
parent65e9f988611fbccea974a91061fce7f4b65dca6d (diff)
downloadbcm5719-llvm-6028c969ac8513791d9998797f29a3ae2086aa20.tar.gz
bcm5719-llvm-6028c969ac8513791d9998797f29a3ae2086aa20.zip
[WebAssembly] Don't error on conflicting uses of prototype-less functions
When we can't determine with certainty the signature of a function import we pick the fist signature we find rather than error'ing out. The resulting program might not do what is expected since we might pick the wrong signature. However since undefined behavior in C to use the same function with different signatures this seems better than refusing to compile such programs. Fixes PR40472 Differential Revision: https://reviews.llvm.org/D58304 llvm-svn: 354523
Diffstat (limited to 'lldb/source/Core/Module.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud