-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support to -Wa,--version in clang
Clang currently only supports -Wa,--version when -no-integrated-as is used. This adds support to -Wa,--version with -integrated-as. Link: ClangBuiltLinux/linux#1320 Reviewed By: nickdesaulniers, MaskRay Differential Revision: https://reviews.llvm.org/D99556
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Test version information. | ||
|
||
// RUN: %clang -Wa,--version -c -fintegrated-as %s -o /dev/null \ | ||
// RUN: | FileCheck --check-prefix=IAS %s | ||
// IAS: clang version | ||
|
||
// RUN: %clang -Wa,--version -c -fno-integrated-as %s -o /dev/null \ | ||
// RUN: | FileCheck --check-prefix=GAS %s | ||
// GAS-NOT: clang |