This is an archive of the discontinued LLVM Phabricator instance.

[clang][NFC] GetOrCreateLLVMGlobal takes LangAS
ClosedPublic

Authored by wingo on Aug 19 2021, 11:11 PM.

Details

Summary

Pass a LangAS instead of a target address space to
GetOrCreateLLVMGlobal, to remove a place where the frontend assumes that
target address space 0 is special.

Diff Detail

Event Timeline

wingo requested review of this revision.Aug 19 2021, 11:11 PM
wingo created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2021, 11:11 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Aug 20 2021, 10:48 AM
This revision was automatically updated to reflect the committed changes.