[LTO] Ignore unreachable virtual functions in WPD in hybrid LTO.

Differential Revision: https://reviews.llvm.org/D115492
This commit is contained in:
Mingming Liu
2021-12-10 05:39:55 +00:00
committed by minglotus-6
parent 1695dd1752
commit 09a704c5ef
21 changed files with 452 additions and 40 deletions

View File

@@ -1066,6 +1066,7 @@ static uint64_t getEncodedFFlags(FunctionSummary::FFlags Flags) {
RawFlags |= (Flags.NoUnwind << 6);
RawFlags |= (Flags.MayThrow << 7);
RawFlags |= (Flags.HasUnknownCall << 8);
RawFlags |= (Flags.MustBeUnreachable << 9);
return RawFlags;
}