[llvm-jitlink] Don't demote unreferenced definitions in -harness mode.
authorLang Hames <lhames@gmail.com>
Thu, 13 Aug 2020 03:44:05 +0000 (20:44 -0700)
committerLang Hames <lhames@gmail.com>
Thu, 13 Aug 2020 18:19:35 +0000 (11:19 -0700)
commite137b550587a85b0d9c9c539edc79de0122b6946
tree600b531b776f3cc43461bb92097e06560385604f
parentadaadbfeac98ab9d5ce34b8bb2ceedddc5dc1fd4
[llvm-jitlink] Don't demote unreferenced definitions in -harness mode.

Demoting unreferenced externals is unsafe if multiple interdependent test
objects are used, including objects loaded from archives.
llvm/tools/llvm-jitlink/llvm-jitlink.cpp