[PATCH] D47292: [libFuzzer] [NFC] Generalize DSO tests to work even when files are moved.

George Karpenkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 13 18:05:04 PDT 2018


george.karpenkov added a comment.

> Why do we need to move files?

For testing on devices.

If you look at other tests in compiler-rt, they all use a similar combination of expansions to get dynamic libraries on devices working.
Here the problem was that since there were TWO dynamic libraries, the usual flags did not work.
(On Linux, linking in libblah.so requires a flag -lblah, so appending a postfix after both libblah.so and after libblah does not work, since liblah.so1 != libblah1.so)


https://reviews.llvm.org/D47292





More information about the llvm-commits mailing list