[all-commits] [llvm/llvm-project] 28d5bc: [Flang][Driver] Predefine pic/pie macros based on ...
Ian McInerney via All-commits
all-commits at lists.llvm.org
Thu Aug 14 09:48:41 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 28d5bc5649a9d004d7a91f4a3639aa6aa3b130b2
https://github.com/llvm/llvm-project/commit/28d5bc5649a9d004d7a91f4a3639aa6aa3b130b2
Author: Ian McInerney <mcianster at gmail.com>
Date: 2025-08-14 (Thu, 14 Aug 2025)
Changed paths:
M flang/lib/Frontend/CompilerInvocation.cpp
A flang/test/Preprocessing/defines_pic_frontend.F90
Log Message:
-----------
[Flang][Driver] Predefine pic/pie macros based on configured level (#153449)
Predefine the `__pic__/__pie__/__PIC__/__PIE__` macros based on the
configured relocation level. This logic mirrors that of the clang
driver, where `__pic__/__PIC__` are defined for both PIC and PIE modes,
but `__pie__/__PIE__` are only defined for PIE mode.
Fixes https://github.com/llvm/llvm-project/issues/135275
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list