Commit graph

5 commits

Author SHA1 Message Date
Dan Olson
462b089492 Move Objective-C runtime choice to TargetABI 2016-03-23 23:54:49 -07:00
Dan Olson
8ee456e224 Objective-C support based on target triple
Currently supports major Darwin triples except for PPC.  New
global.params.hasObjectiveC is set based on decision.
2016-03-07 23:59:21 -08:00
Dan Olson
be88e39460 Use module flags for image info
Experiment with letting LLVM generate image info based on module flags.
2016-03-02 23:32:42 -08:00
Dan Olson
9ea8bf0f91 Cache selectors and prevent optimizer elimination
Remember selector vars to avoid duplicates, and use llvm.compiler.used
array to prevent optimizer from eliminating selector vars.
2016-03-02 00:30:58 -08:00
Dan Olson
98a608e925 First proof -of-concept for objc support
This at least shows a path forward.  Pretty much a kludge to at this
point, but passes the tests.
2016-03-02 00:30:58 -08:00