7 Commits (2d87ac45a1a6fac9491357ef54c073b2c84b5ffb)

Author SHA1 Message Date
Dustin L. Howett bfc0b9afe4 Operate on the real weak ref table when erasing an entry
Fixes #144.

(cherry picked from commit 9702494b902eedf9383e9194df372a4482d7a044)
6 years ago
Dustin L. Howett 7ad75c07d6 Revert "Fix test failure."
This reverts commit 336d8a828c.

(cherry picked from commit 194d2ba8db86a03a08ef825501627d7d178e4202)
6 years ago
David Chisnall 75ad9243a1 Prevent libc++ from using exceptions. 6 years ago
David Chisnall 457361354c Merge remote-tracking branch 'origin/master' into arc-cxx 6 years ago
David Chisnall 336d8a828c Fix test failure.
This bug is also present in the original version:

When removing a WeakRef from the map, we use its obj field to find the
key, but the obj field has already been zeroed by this point and so we
end up leaving dangling pointers in the map.
7 years ago
David Chisnall af55c29007 Fix the build on Windows. 7 years ago
David Chisnall 3f38f691af Rework ARC code as C++.
Move the weak references hash table to use a well-tested third-party
implementation instead of the hand-rolled version.
7 years ago