We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf4236 commit cb512f3Copy full SHA for cb512f3
clang/test/Driver/diag-mcmodel-tiny-x86.c
@@ -0,0 +1,2 @@
1
+// RUN: not %clang --target=x86_64 -c -mcmodel=tiny %s 2>&1 | FileCheck %s
2
+// CHECK: error: unsupported argument 'tiny' to option '-mcmodel=' for target '{{.*}}'
llvm/docs/ReleaseNotes.md
@@ -153,6 +153,9 @@ Changes to Sanitizers
153
Other Changes
154
-------------
155
156
+* The -mcmodel=tiny option for the x86 architecture now triggers a frontend diagnostic.
157
+
158
159
External Open Source Projects Using LLVM {{env.config.release}}
160
===============================================================
161
0 commit comments