Fix r252525 - cmake configure failed to connect target builtins to target compiler-rt because of early return call.
Details
Details
Diff Detail
Diff Detail
| Paths 
 |  Differential  D14747  
[compiler-rt][cmake] Fix not lipo libclang_rt.cc_kext.a when building on OS X ClosedPublic Authored by cao.zhong1 on Nov 17 2015, 6:24 AM. 
Details Summary Fix r252525 - cmake configure failed to connect target builtins to target compiler-rt because of early return call. 
Diff Detail Event Timelinecao.zhong1 retitled this revision from  to [compiler-rt][cmake] Fix not lipo libclang_rt.cc_kext.a when building on OS X. cao.zhong1 updated this object. beanz edited edge metadata.Comment Actions LGTM. Thanks for catching this. Early return inside macros is a really bad idea. This revision is now accepted and ready to land.Nov 17 2015, 9:22 AM Closed by commit rL253692: [compiler-rt][cmake] Fix not lipo libclang_rt.cc_kext.a when building on OS X (authored by cbieneman).  ·  Explain WhyNov 20 2015, 10:48 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 40394 cmake/Modules/CompilerRTDarwinUtils.cmake
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||