[PATCH] D30107: Refactor DynamicLibrary so searching for a symbol will have a defined order and libraries are properly unloaded when llvm_shutdown is called.

Frederich Munch via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 10:18:08 PDT 2017


marsupial added a comment.

https://reviews.llvm.org/D33529 is attempting to address this can we continue discussion there?
I'm totally understand the order being reversed, though I would like to keep an explicit bool to signify **Don't resolve as the OS would**
Otherwise from the example above someone who loads a lib with **printf** will pull that symbol from **libA.so** or **libB.so** and they might not actually want to.
They should explicitly request this behaviour.


Repository:
  rL LLVM

https://reviews.llvm.org/D30107





More information about the llvm-commits mailing list