mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
[Objective-C] Support a new special module flag that will be put into the
objc_imageinfo struct. rdar://17954668 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b4401e33d5
commit
7e19efdbb3
@ -470,7 +470,8 @@ emitModuleFlags(MCStreamer &Streamer,
|
||||
VersionVal = cast<ConstantInt>(Val)->getZExtValue();
|
||||
} else if (Key == "Objective-C Garbage Collection" ||
|
||||
Key == "Objective-C GC Only" ||
|
||||
Key == "Objective-C Is Simulated") {
|
||||
Key == "Objective-C Is Simulated" ||
|
||||
Key == "Objective-C Image Swift Version") {
|
||||
ImageInfoFlags |= cast<ConstantInt>(Val)->getZExtValue();
|
||||
} else if (Key == "Objective-C Image Info Section") {
|
||||
SectionVal = cast<MDString>(Val)->getString();
|
||||
|
Loading…
x
Reference in New Issue
Block a user