Reapply part of rL303015, fixing just the DynamicLibaryTest. Add
authorDimitry Andric <dimitry@andric.com>
Wed, 17 May 2017 19:46:49 +0000 (19:46 +0000)
committerDimitry Andric <dimitry@andric.com>
Wed, 17 May 2017 19:46:49 +0000 (19:46 +0000)
commit287a9ea0fa9d40c9aaa785382674fc39acf65bac
tree4a6b887575cb1cd9461ad189ebc9e0e1a51554fb
parentc63fb00f138c3c7159736f66fedbb0a7fc9d97aa
Reapply part of rL303015, fixing just the DynamicLibaryTest.  Add
retrieval of the original argv[0] from the GoogleTest framework, so it
is more likely the correct main executable path is found.

llvm-svn: 303289
llvm/unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp