summaryrefslogtreecommitdiff
path: root/tests/malloc_iterate_test.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2021-01-12 23:09:10 -0800
committerRyan Prichard <rprichard@google.com>2021-01-13 17:48:05 -0800
commitbb1e37358f142428714d829681f8e767d6170db3 (patch)
treedfeb40d49cfc271f9fe42a6108b0545d7734c9d8 /tests/malloc_iterate_test.cpp
parentb4fd07297606de111c10d0f9a000fdb1e2280387 (diff)
Delay setting linker soname until post-reloc and post-ctor
Setting the linker's soname ("ld-android.so") can allocate heap memory now that the name uses an std::string, and it's probably a good idea to defer doing this until after the linker has relocated itself (and after it has called C++ constructors for global variables.) Bug: none Test: bionic unit tests Test: verify that dlopen("ld-android.so", RTLD_NOLOAD) works Change-Id: I6b9bd7552c3ae9b77e3ee9e2a98b069b8eef25ca
Diffstat (limited to 'tests/malloc_iterate_test.cpp')
0 files changed, 0 insertions, 0 deletions