projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4401e3
)
[Objective-C] Support a new special module flag that will be put into the
author
Manman Ren
<manman.ren@gmail.com>
Fri, 21 Nov 2014 19:24:55 +0000
(19:24 +0000)
committer
Manman Ren
<manman.ren@gmail.com>
Fri, 21 Nov 2014 19:24:55 +0000
(19:24 +0000)
objc_imageinfo struct.
rdar://
17954668
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222558
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index efd15e15114b73afc83c0e58be325d9c2d857859..e52552af5e4fa426eabcfce5e3cca93c01f44c30 100644
(file)
--- a/
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@
-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();