The OpenMP generates many functions which are not in user program.
Example: "captured_stmt_debug_", "captured_stmt", ".omp_outlined._debug__",
".omp_task_entry.", ".omp_outlined.", ".omp_outlined..1"
Current patch marks these all as artificial.
Differential D111521
[DebugInfo] Mark OpenMP generated functions as artificial alok on Oct 10 2021, 11:03 PM. Authored by
Details The OpenMP generates many functions which are not in user program. Example: "captured_stmt_debug_", "captured_stmt", ".omp_outlined._debug__", Current patch marks these all as artificial.
Diff Detail Event TimelineComment Actions Might not hurt to have some negative test cases too - like something that is a VarDecl but has NoStub DynamicInitKind? Comment Actions Re-based and updated to include one negative testcase. Comment Actions I've got no particular knowledge of OpenMP unfortunately - the suggestion was based on looking at the conditions in the code & wanting them to all be tested. If it can't be tested, could the test in the code be replaced with an assertion that it never happens? |