From 77c763c1a311d9b5c3285b0ce9450491a3adfe45 Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Fri, 29 Jan 2016 23:51:00 +0000 Subject: [PATCH] [Objective-C] Support a new special module flag. "Objective-C Class Properties" will be put into the objc_imageinfo struct. rdar://23891898 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259270 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 3c9026e3283..bcaad86a511 100644 --- a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/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(Val)->getZExtValue(); } else if (Key == "Objective-C Image Info Section") { -- 2.11.0