summaryrefslogtreecommitdiff
path: root/linker/linker_block_allocator.cpp
diff options
context:
space:
mode:
authorDimitry Ivanov <dimitry@google.com>2017-02-10 11:04:20 -0800
committerDimitry Ivanov <dimitry@google.com>2017-02-10 16:11:51 -0800
commitec90e24d33837e107b45e7c98b2f5fb4bc115a5e (patch)
treeda59fda3b0eac92d43fe86dc457506a11382953c /linker/linker_block_allocator.cpp
parent132768084e24119c337e56fd110b97a23e5593c2 (diff)
loader: fix d-tor call order
In the case when there are multiple dependencies on the same library in the local_group the unload may in some situations (covered now by tests) result calling d-tors for some libraries prematurely. In order to have correct call order loader checks if this is last dependency in local group before adding it to BFS queue. Bug: http://b/35201832 Test: bionic-unit-tests --gtest_filter=dl*:Dl* Test: bionic-unit-tests-glibc --gtest_filter=dl* Change-Id: I4c6955b9032acc7147a51d9f09b61d9e0818700c
Diffstat (limited to 'linker/linker_block_allocator.cpp')
0 files changed, 0 insertions, 0 deletions