aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorJennifer Yu <jennifer.yu@intel.com>2021-10-04 16:54:47 -0700
committerJennifer Yu <jennifer.yu@intel.com>2021-10-06 14:14:28 -0700
commita4743eba3c13799e667777764554fd44ccc6a33a (patch)
tree1745c694bcc11605875a894da91eeea63aba91c7 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentc7e72784aef9ee5f32e438e4d2d09a9710d5538b (diff)
downloadllvm-a4743eba3c13799e667777764554fd44ccc6a33a.zip
llvm-a4743eba3c13799e667777764554fd44ccc6a33a.tar.gz
llvm-a4743eba3c13799e667777764554fd44ccc6a33a.tar.bz2
Fix assert of "Unable to find base lambda address" from
adjustMemberOfForLambdaCaptures. The problem is happening when user passes lambda function with reference type in the map clause. The natural of the problem when processing generateInfoForCapture, the BasePointer is generated with new load for a lambda variable with reference type. It is not expected in adjustMemberOfForLambdaCaptures. One way to fix this is to skipping call to generateInfoForCapture for map(to:lambda). The map info will be generated later in the call to generateDefaultMapInfo samiler as firsprivate clase. This to fix https://bugs.llvm.org/show_bug.cgi?id=52071 Differential Revision:https://reviews.llvm.org/D111115
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions