Skip to content

Emit PIC Level and PIE Level module flags - #5315

Merged
thewilsonator merged 4 commits into
ldc-developers:masterfrom
kubo39:emit-pic-pie-level
Nov 3, 2026
Merged

thewilsonator merged 4 commits into
ldc-developers:masterfrom
kubo39:emit-pic-pie-level

Conversation

@kubo39

@kubo39 kubo39 commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Without PIE Level, LLVM has to assume that PIC code may end up in a shared library, so selects the global-dynamic TLS model.

@kubo39
kubo39 force-pushed the emit-pic-pie-level branch from 35759d0 to 0b88243 Compare October 31, 2026 23:14
Without PIE Level, LLVM has to assume that PIC code may end up in a
shared library, so selects the global-dynamic TLS model.
@kubo39
kubo39 force-pushed the emit-pic-pie-level branch from 0b88243 to cc806b3 Compare October 31, 2026 23:27
Comment thread tests/linking/ir2obj_cache_pruning2.d Resolved
@kubo39
kubo39 force-pushed the emit-pic-pie-level branch from 0df4f16 to 838564e Compare November 1, 2026 13:30
@kubo39
kubo39 force-pushed the emit-pic-pie-level branch from 838564e to 42e246e Compare November 1, 2026 13:32
@JohanEngelen

Copy link
Copy Markdown
Member

LGTM

@thewilsonator
thewilsonator merged commit 3cd06b7 into ldc-developers:master Nov 3, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants