[test] Make ThinLTO/X86/crash_debuginfo.ll work with -enable-new-pm=1
authorFangrui Song <i@maskray.me>
Tue, 27 Oct 2020 19:36:59 +0000 (12:36 -0700)
committerFangrui Song <i@maskray.me>
Tue, 27 Oct 2020 19:37:19 +0000 (12:37 -0700)
commit62536fae61686ddd2ce492ce7e732b1030892f2c
treea2695d18cb94ac850654341caf392ce4d326edde
parent3700556ecb062abf786ad52a5474c27b22c19107
[test] Make ThinLTO/X86/crash_debuginfo.ll work with -enable-new-pm=1

LegacyInlinerBase::doFinalization runs removeDeadFunctions() to remove bar but
the new PM inliner doesn't. Improve the test to use llvm-nm -U.
llvm/test/ThinLTO/X86/crash_debuginfo.ll