llvm-project/llvm/unittests/Support/DynamicLibrary
Mikhail Maltsev fa5a728657 [Unittests] Change linker flags of dynamic library tests
A recent change https://reviews.llvm.org/D46898 which had no intended
behavior change, actually modified the linker flags used when linking
the dynamic libraries used by the DynamicLibraryTests unit test. This
made the test fail in our testing environment which runs the tests
from an NFS share. Prior to D46898 the two libraries used by the test
were different (because the library name used to be embedded into the
binary), and after the change they became bit-to-bit identical. This
causes dlopen to return the same handle when these two libraries are
loaded from an NFS share, and the test expects two different handles.

This patch reverts the part of D46898 that is responsible for
changing the linker flags.

Differential Revision: https://reviews.llvm.org/D47469

llvm-svn: 334394
2018-06-11 09:15:37 +00:00
..
CMakeLists.txt [Unittests] Change linker flags of dynamic library tests 2018-06-11 09:15:37 +00:00
DynamicLibraryTest.cpp Give shared modules in unittests the platform-native extension, make PipSqueak a MODULE 2018-05-16 16:29:05 +00:00
ExportedFuncs.cpp Rename three cxx files in unittests to cpp. 2018-05-15 16:30:30 +00:00
PipSqueak.cpp Rename three cxx files in unittests to cpp. 2018-05-15 16:30:30 +00:00
PipSqueak.h Export the required symbol from DynamicLibraryTests 2017-06-12 07:22:15 +00:00