diff options
author | Sam Clegg <sbc@chromium.org> | 2020-06-16 12:23:25 -0700 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2020-06-18 13:11:40 -0700 |
commit | 21e14cce23582fcd622b97d643a4e9b2f10a0583 (patch) | |
tree | 94cb68354f4d5c06f19f9f074fded0c679633c31 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 25cbfa0788846c7ec06affb9c0e0d4a87b510c02 (diff) | |
download | llvm-21e14cce23582fcd622b97d643a4e9b2f10a0583.zip llvm-21e14cce23582fcd622b97d643a4e9b2f10a0583.tar.gz llvm-21e14cce23582fcd622b97d643a4e9b2f10a0583.tar.bz2 |
[lld][WebAssembly] Allow ctors functions that return values
Some projects use the constructor attribute on functions that also
return values. In this case we just ignore them.
The error was reported in the libgpg-error project that marks
gpg_err_init with the `__constructor__` attribute.
Differential Revision: https://reviews.llvm.org/D81962
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions