link.exe discards DWARF information. Other linkers on non-Windows do
not.
Uses the same solution as TestFrameFunctionInlined.test.
This test was failing with the native PDB plugin but shouldn't have been
using PDB anyway (see #114906). Passes with DWARF and lld.