This is an archive of the discontinued LLVM Phabricator instance.

[Clang] Make PIC check comprehensive with respect to relocation models.
Needs ReviewPublic

Authored by ZhiyaoMa98 on May 24 2022, 5:09 PM.

Details

Summary

Add missing if branch for "ropi", "rwpi" and "ropi-rwpi" relocation model when initializing the PIC boolean variable.

Diff Detail

Event Timeline

ZhiyaoMa98 created this revision.May 24 2022, 5:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2022, 5:09 PM
ZhiyaoMa98 requested review of this revision.May 24 2022, 5:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2022, 5:09 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript