aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorSunilKuravinakop <98882378+SunilKuravinakop@users.noreply.github.com>2024-05-16 21:55:53 +0530
committerGitHub <noreply@github.com>2024-05-16 12:25:53 -0400
commitce67fcf15f4ffac00a715cf724bc72e37f063064 (patch)
treeff93e01e778c4414cb1815f941a4df600257b600 /lldb/source/Commands/CommandObjectThread.cpp
parente8692b88bec1d43325804d75166d9483d6c17fc7 (diff)
downloadllvm-ce67fcf15f4ffac00a715cf724bc72e37f063064.zip
llvm-ce67fcf15f4ffac00a715cf724bc72e37f063064.tar.gz
llvm-ce67fcf15f4ffac00a715cf724bc72e37f063064.tar.bz2
Avoid unevaluated implicit private (#92055)
For every variable used under `#pragma omp task` directive (`DeclRefExpr`) an ImplicitPrivateVariable is created in the AST, if `private` or `shared` clauses are not present. If the variable has the property of `non_odr_use_unevaluated` e.g. for statements which use `sizeof( i )` `i` will have `non_odr_use_unevaluated` . In such cases CodeGen was asserting by avoiding emitting of LLVM IR for such variables. To prevent this assertion this checkin avoids adding the ImplicitPrivateVariable for variables with `non_odr_use_unevaluated`. --------- Authored-by: Sunil Kuravinakop <kuravina@pe28vega.us.cray.com>
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions