add support for ignore-gdb-version

This commit is contained in:
Pietro Albini 2023-03-16 11:19:30 +01:00
parent 8f8873e386
commit 5b0a0d8254
No known key found for this signature in database
GPG Key ID: CD76B35F7734769E
1 changed files with 6 additions and 0 deletions

View File

@ -187,6 +187,12 @@ pub(super) fn parse_cfg_name_directive<'a>(
if name == "llvm-version" {
outcome = MatchOutcome::External;
}
// Don't error out for ignore-llvm-version, that has a custom syntax and is handled
// elsewhere.
if name == "gdb-version" {
outcome = MatchOutcome::External;
}
}
ParsedNameDirective {