[libcxx-commits] [libcxx] [ASan][libc++] Initialize `__r_` variable with lambda (PR #77394)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 11 13:55:17 PST 2024


AdvenamTacet wrote:

I see failing buildbots (this time cuda buildbots), bo I see no connection with my changes, therefore I'm not reverting the PR.
- https://lab.llvm.org/buildbot/#/builders/46/builds/61725
- https://lab.llvm.org/buildbot/#/builders/55/builds/61849

Example error:
```bash
/buildbot/cuda-p4-0/work/clang-cuda-p4/clang/bin/../include/c++/v1/string:2025:33: error: use of undeclared identifier 'noinline'; did you mean 'inline'?
 2025 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_NOINLINE void __erase_external_with_move(size_type __pos, size_type __n);
      |                                 ^
/buildbot/cuda-p4-0/work/clang-cuda-p4/clang/bin/../include/c++/v1/__config:1192:45: note: expanded from macro '_LIBCPP_NOINLINE'
 1192 | #    define _LIBCPP_NOINLINE __attribute__((__noinline__))
      |                                             ^
/buildbot/cuda-p4-0/work/clang-cuda-p4/external/cuda/cuda-11.8/include/crt/host_defines.h:83:24: note: expanded from macro '__noinline__'
   83 |         __attribute__((noinline))
      |
````

I don't even modify code close to `_LIBCPP_NOINLINE`.

https://github.com/llvm/llvm-project/pull/77394


More information about the libcxx-commits mailing list