diff options
author | Artem Belevich <tra@google.com> | 2021-05-21 10:53:28 -0700 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2021-05-24 11:07:09 -0700 |
commit | 9a75c06cd9d94d3fd13c47a01044da97b98cf26b (patch) | |
tree | e060b906a426ab9fadd283c23638a3dcf2cf028e /llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp | |
parent | 96aa0a4115bc89a6d63e0245559ac8204bf5b9ac (diff) | |
download | llvm-9a75c06cd9d94d3fd13c47a01044da97b98cf26b.zip llvm-9a75c06cd9d94d3fd13c47a01044da97b98cf26b.tar.gz llvm-9a75c06cd9d94d3fd13c47a01044da97b98cf26b.tar.bz2 |
[CUDA] Work around compatibility issue with libstdc++ 11.1.0
libstdc++ redeclares __failed_assertion multiple times and that results in the
function declared with conflicting set of attributes when we include <complex>
with __host__ __device__ attributes force-applied to all functions.
In order to work around the issue, we rename __failed_assertion within the
region with forced attributes.
See https://bugs.llvm.org/show_bug.cgi?id=50383 for the details.
Differential Revision: https://reviews.llvm.org/D102936
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp')
0 files changed, 0 insertions, 0 deletions