Use appendToUsed instead of include to ensure that
SanitizerCoverage's constructors are not stripped.
Also, use isOSBinFormatCOFF() to determine if target
binary format is COFF.
Differential D56369
[SanitizerCoverage][NFC] Use appendToUsed instead of include metzman on Jan 6 2019, 3:51 PM. Authored by
Details
Use appendToUsed instead of include to ensure that Also, use isOSBinFormatCOFF() to determine if target
Diff Detail
Event TimelineComment Actions Peter could you please take a look. Comment Actions Doesn't this need a test case update? (or a new test case, if this code wasn't being covered before) Comment Actions There is a(n indirect) test for this that is general enough that it doesn't need an update. If you would like I can try to add a more direct test to LLVM to ensure that /include is emitted during IR generation. Comment Actions Unrelated to this change, I made an error in my commit message for: r351356 |