aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2025-07-17 23:50:39 +0100
committerGitHub <noreply@github.com>2025-07-17 23:50:39 +0100
commit8f4deff5d51ac190e056a6738018fc8aa3114151 (patch)
tree712b42b033100c3df15f51511cdce5a4d1b49789 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent100d8f7cc72328d7f0dfabb1128b35865fd653aa (diff)
downloadllvm-8f4deff5d51ac190e056a6738018fc8aa3114151.zip
llvm-8f4deff5d51ac190e056a6738018fc8aa3114151.tar.gz
llvm-8f4deff5d51ac190e056a6738018fc8aa3114151.tar.bz2
[libcxx][fstream][NFC] Make __failed helper lambda a member function (#149390)
This patch makes the `__failed` lambda a member function on `fstream`. This fixes two LLDB expression evaluation test failures that got introduced with https://github.com/llvm/llvm-project/pull/147389: ``` 16:22:51 ******************** 16:22:51 Unresolved Tests (2): 16:22:51 lldb-api :: commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py 16:22:51 lldb-api :: commands/expression/import-std-module/list/TestListFromStdModule.py ``` The expression evaluator is asserting in the Clang parser: ``` Assertion failed: (capture_size() == Class->capture_size() && "Wrong number of captures"), function LambdaExpr, file ExprCXX.cpp, line 1277. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. ``` Ideally we'd figure out why LLDB is falling over on this lambda. But to unblock CI for now, make this a member function. In the long run we should figure out the LLDB bug here so libc++ doesn't need to care about whether it uses lambdas like this or not.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions