Skip to content

Backport #112152 to 26.5: Keep the function name of a stack frame attributed to a libc++ __functional header - #114780

Merged
alexey-milovidov merged 3 commits into
26.5from
backport/26.5/112152
Aug 15, 2026
Merged

alexey-milovidov merged 3 commits into
26.5from
backport/26.5/112152

Conversation

@robot-ch-test-poll4

@robot-ch-test-poll4 robot-ch-test-poll4 commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #112152

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.5.7.57

…ributed to a libc++ `__functional` header
@robot-ch-test-poll4 robot-ch-test-poll4 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Aug 14, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [aed8dc0]

Summary: ✅

robot-clickhouse and others added 2 commits August 14, 2026 22:58
…t-testability

A pure refactoring with no behavior change: the function was file-local in
`StackTrace.cpp`, compiled only under `#if (defined(__ELF__) && !defined(OS_FREEBSD)) || defined(OS_DARWIN)`;
now it is a public static member declared in `StackTrace.h` and defined
unconditionally.

This unblocks `Bugfix validation (unit tests)` for
#112152: the validation overlays
the PR's new regression test onto the merge-base and requires it to compile
there and fail at runtime, but the test calls
`StackTrace::collapseDemangledNames`, which did not exist on the merge-base, so
the "before" binary failed to compile and the validation was inconclusive:
https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=112152&sha=c9b08639cb488c1a023376e2623d7b338748a89c&name_0=PR&name_1=Bugfix%20validation%20%28unit%20tests%29

Once this refactoring is in `master` and merged into that PR's branch, its
"before" binary compiles the test against the old behavior and the test fails
at runtime, turning the validation into a genuine reproduction.

Co-Authored-By: Claude Fable 5 <[email protected]>
@alexey-milovidov
alexey-milovidov merged commit fb5a71d into 26.5 Aug 15, 2026
35 checks passed
@alexey-milovidov
alexey-milovidov deleted the backport/26.5/112152 branch August 15, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants