summaryrefslogtreecommitdiff
path: root/linker/linker_libcxx_support.cpp
diff options
context:
space:
mode:
authorDimitry Ivanov <dimitry@google.com>2017-02-13 10:49:40 -0800
committerDimitry Ivanov <dimitry@google.com>2017-02-13 11:25:49 -0800
commit3b236ae2947e9782403cf35046f1eb04be456ac9 (patch)
tree2a2b3be0873917c35955c6b6fa85787cf83f11c3 /linker/linker_libcxx_support.cpp
parent2cb4dfbb8c71ccc7890ecfd792790d7f6842b5a8 (diff)
Do not use std::vector in android_namespace_t::is_accessible
Avoid constructing vector and walking all the parents of a soinfo to check if it is accessible. The most likely scenario that the very first check returns true. Bug: http://b/35313368 Test: bionic-unit-tests --gtest_filter=dl*:Dl* Change-Id: I06c65cf61ed1c30e5e454a169de4c41038863587
Diffstat (limited to 'linker/linker_libcxx_support.cpp')
0 files changed, 0 insertions, 0 deletions