Created
June 23, 2019 12:21
-
-
Save mgrebenets/0cd24fccb0bdb8a2208d7672759f2c35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Extend the linker arguments when code coverage is enabled. We use a separate setting here to do this so that the extra linker flags will always be passed when code coverage is enabled, even if this specific target disables code coverage instrumentation via CLANG_ENABLE_COVERAGE_MAPPING. | |
{ | |
Name = "CLANG_COVERAGE_MAPPING_LINKER_ARGS"; | |
Type = Boolean; | |
DefaultValue = "$(CLANG_COVERAGE_MAPPING)"; | |
AdditionalLinkerArgs = { | |
NO = (); | |
YES = ( | |
"-fprofile-instr-generate", | |
); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment