diff options
author | Manman Ren <manman.ren@gmail.com> | 2016-01-29 23:51:00 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2016-01-29 23:51:00 +0000 |
commit | c77e0ff7854f27e5ec81ce2efa98f84dda2bb363 (patch) | |
tree | efbc8361b7582a64581606969fab5db1e75e4fb9 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | ce7bff5e7fc1ca5d66c3068f97d719dfbad5bd10 (diff) | |
download | llvm-c77e0ff7854f27e5ec81ce2efa98f84dda2bb363.zip llvm-c77e0ff7854f27e5ec81ce2efa98f84dda2bb363.tar.gz llvm-c77e0ff7854f27e5ec81ce2efa98f84dda2bb363.tar.bz2 |
[Objective-C] Support a new special module flag.
"Objective-C Class Properties" will be put into the objc_imageinfo struct.
rdar://23891898
llvm-svn: 259270
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 3c9026e..bcaad86 100644 --- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp @@ -467,6 +467,7 @@ emitModuleFlags(MCStreamer &Streamer, } else if (Key == "Objective-C Garbage Collection" || Key == "Objective-C GC Only" || Key == "Objective-C Is Simulated" || + Key == "Objective-C Class Properties" || Key == "Objective-C Image Swift Version") { ImageInfoFlags |= mdconst::extract<ConstantInt>(Val)->getZExtValue(); } else if (Key == "Objective-C Image Info Section") { |