// LLD is not yet capable of creating a PDB file, so /debug does not have
// any effect, other than disabling dead stripping.
ctx.setDeadStripping(false);
+
+ // Prints out input files during core linking to help debugging.
+ ctx.setLogInputFiles(true);
break;
case OPT_force:
EXPECT_TRUE(_context.isTerminalServerAware());
EXPECT_TRUE(_context.getDynamicBaseEnabled());
EXPECT_TRUE(_context.deadStrip());
+ EXPECT_FALSE(_context.logInputFiles());
}
TEST_F(WinLinkParserTest, StartsWithHyphen) {
TEST_F(WinLinkParserTest, Debug) {
EXPECT_TRUE(parse("link.exe", "/debug", "a.out", nullptr));
EXPECT_FALSE(_context.deadStrip());
+ EXPECT_TRUE(_context.logInputFiles());
}
TEST_F(WinLinkParserTest, Fixed) {