[clang] [clang] Merge lifetimebound and GSL code paths for lifetime analysis (PR #104906)
Vladimir Vereschaka via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 22 14:19:07 PDT 2024
vvereschaka wrote:
Hi @hokein ,
for some reason these changes break one of the libc++ test with the following compilation error:
```
# .---command stderr------------
# | In file included from C:\buildbot\as-builder-2\x-aarch64\llvm-project\libcxx\test\std\algorithms\alg.sorting\alg.merge\pstl.merge.pass.cpp:28:
# | In file included from C:/buildbot/as-builder-2/x-aarch64/build/include/c++/v1\algorithm:1910:
# | In file included from C:/buildbot/as-builder-2/x-aarch64/build/include/c++/v1\__algorithm/pstl.h:28:
# | C:/buildbot/as-builder-2/x-aarch64/build/include/c++/v1\__pstl/handle_exception.h:49:23: error: address of stack memory associated with local variable '__result' returned [-Werror,-Wreturn-stack-address]
# | 49 | return std::move(*__result);
# | | ^~~~~~~~
...
```
Is this expectable behavior?
There is a full error log: https://lab.llvm.org/buildbot/#/builders/193/builds/2096/steps/15/logs/FAIL__llvm-libc__-static_cfg_in__pstl_merge_pass_c
This is a Aarch64 cross toolchain builder (win to arm linux)
Another failed build is here (armv7): https://lab.llvm.org/buildbot/#/builders/38/builds/250
@ldionne letting you know just in case
https://github.com/llvm/llvm-project/pull/104906
More information about the cfe-commits
mailing list