Skip to content

Ask Clang to emit C++ global variables.#6748

Merged
chandlerc merged 1 commit intocarbon-language:trunkfrom
zygoloid:push-upommszpklnk
Feb 14, 2026
Merged

Ask Clang to emit C++ global variables.#6748
chandlerc merged 1 commit intocarbon-language:trunkfrom
zygoloid:push-upommszpklnk

Conversation

@zygoloid
Copy link
Contributor

Don't emit them ourselves. This was leading to our emitted variable being renamed away from the proper symbol name, leading to link errors.

Fixes #6742.

Don't emit them ourselves. This was leading to our emitted variable
being renamed away from the proper symbol name, leading to link errors.

Fixes carbon-language#6742.
@zygoloid zygoloid requested a review from a team as a code owner February 14, 2026 01:57
@zygoloid zygoloid requested review from geoffromer and removed request for a team February 14, 2026 01:57
Copy link
Contributor

@chandlerc chandlerc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@chandlerc chandlerc added this pull request to the merge queue Feb 14, 2026
Merged via the queue into carbon-language:trunk with commit 773837e Feb 14, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

link error referring to C++ global variable

2 participants