Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [lld] Fix trivial typos in comments | Kazuaki Ishizaki | 2020-01-06 | 1 | -1/+1 |
| | | | | | | Reviewed By: ruiu, MaskRay Differential Revision: https://reviews.llvm.org/D72196 | ||||
* | [lld][WebAssembly] Fix spurious signature mismatch warnings | Sam Clegg | 2019-08-30 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | Summary: This a follow up on: https://reviews.llvm.org/D62153 Handle the case where there are multiple object files that contain undefined references to the same function. We only generate a function variant if the existing symbol is directly called. See: https://github.com/emscripten-core/emscripten/issues/8995 Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67015 llvm-svn: 370509 | ||||
* | [WebAssembly] Relax signature checking for undefined functions that are not ↵ | Sam Clegg | 2019-05-24 | 1 | -0/+19 |
called directly When function signatures don't match and the undefined function is not called directly (i.e. only has its address taken) we don't issue a warning or create a runtime thunk for the undefined function. Instead in this case we simply use the defined version of the function. This is possible since checking signatures of dynamic calls happens at runtime so any invalid usage will still result in a runtime error. This is needed to allow C++ programs to link without generating warnings. Its not uncommon in C++ for vtables to be populated by function address whee the signature of the function is not known in the compilation unit. In this case clang declares the method as void(void) and relies on the vtable caller casting the data back to the correct signature. Fixes: https://bugs.llvm.org/show_bug.cgi?id=40412 Differential Revision: https://reviews.llvm.org/D62153 llvm-svn: 361678 |