mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[Objective-C] Support a new special module flag that will be put into the
objc_imageinfo struct. rdar://17954668 llvm-svn: 222558
This commit is contained in:
parent
ffb28ee503
commit
ea36e798d4
@ -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…
Reference in New Issue
Block a user