commit | 1f001dc7bc9e435bf231a5b0edcad1c7c2bd6214 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 02 15:43:20 2012 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Nov 02 13:07:54 2012 -0500 |
tree | 531f1ce25757189d2ac450a42f8eea75cf50e6fb | |
parent | 2a0dfd004d9fae4adf2ccfcb2e3b1a76906b48a0 [diff] |
compiler: support Darwin weak references Weakrefs only tell you if the symbol was defined elsewhere, so you need a further check at runtime to pick the default definition when needed. This could be automated by the compiler, but it does not do it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>