-
Couldn't load subscription status.
- Fork 15k
[Driver] Reject -mcmodel=tiny on X86 #125643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
0aebcd7
f791b1d
689dc3a
28fcb0e
ba6c662
843d4cc
adf4236
cb512f3
b2724ba
ad5c8ca
5b9ff44
0fa223c
d85fad3
ca4d129
fcbc340
d2cf187
8e2b440
12e4423
215aa42
39e7667
2024997
075a921
742ea57
59985ea
0c14a0c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| // RUN: not %clang --target=x86_64 -c -mcmodel=tiny %s 2>&1 | FileCheck %s | ||
| // CHECK: error: unsupported argument 'tiny' to option '-mcmodel=' for target '{{.*}}' | ||
hstk30-hw marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -153,6 +153,9 @@ Changes to Sanitizers | |||||
| Other Changes | ||||||
| ------------- | ||||||
|
|
||||||
| * The -mcmodel=tiny option for the x86 architecture now triggers a frontend diagnostic. | ||||||
|
||||||
| * The -mcmodel=tiny option for the x86 architecture now triggers a frontend diagnostic. | |
| * The ``-mcmodel=tiny`` option will now be diagnosed on all targets other than ARM or AArch64. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing for our coding style.