-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of #120094 - krasimirgg:inline-asm-llvm-18, r=nikic
tests/ui/asm/inline-syntax: adapt for LLVM 18 Fixes #119120.
- Loading branch information
Showing
4 changed files
with
116 additions
and
14 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,90 @@ | ||
error: unknown directive | ||
| | ||
note: instantiated into assembly here | ||
--> <inline asm>:1:1 | ||
| | ||
LL | .intel_syntax noprefix | ||
| ^ | ||
|
||
error: unknown directive | ||
| | ||
note: instantiated into assembly here | ||
--> <inline asm>:1:1 | ||
| | ||
LL | .intel_syntax noprefix | ||
| ^ | ||
|
||
error: unknown directive | ||
--> $DIR/inline-syntax.rs:38:15 | ||
| | ||
LL | asm!(".intel_syntax noprefix", "nop"); | ||
| ^ | ||
| | ||
note: instantiated into assembly here | ||
--> <inline asm>:1:2 | ||
| | ||
LL | .intel_syntax noprefix | ||
| ^ | ||
|
||
error: unknown directive | ||
--> $DIR/inline-syntax.rs:42:15 | ||
| | ||
LL | asm!(".intel_syntax aaa noprefix", "nop"); | ||
| ^ | ||
| | ||
note: instantiated into assembly here | ||
--> <inline asm>:1:2 | ||
| | ||
LL | .intel_syntax aaa noprefix | ||
| ^ | ||
|
||
error: unknown directive | ||
--> $DIR/inline-syntax.rs:46:15 | ||
| | ||
LL | asm!(".att_syntax noprefix", "nop"); | ||
| ^ | ||
| | ||
note: instantiated into assembly here | ||
--> <inline asm>:1:2 | ||
| | ||
LL | .att_syntax noprefix | ||
| ^ | ||
|
||
error: unknown directive | ||
--> $DIR/inline-syntax.rs:50:15 | ||
| | ||
LL | asm!(".att_syntax bbb noprefix", "nop"); | ||
| ^ | ||
| | ||
note: instantiated into assembly here | ||
--> <inline asm>:1:2 | ||
| | ||
LL | .att_syntax bbb noprefix | ||
| ^ | ||
|
||
error: unknown directive | ||
--> $DIR/inline-syntax.rs:54:15 | ||
| | ||
LL | asm!(".intel_syntax noprefix; nop"); | ||
| ^ | ||
| | ||
note: instantiated into assembly here | ||
--> <inline asm>:1:2 | ||
| | ||
LL | .intel_syntax noprefix; nop | ||
| ^ | ||
|
||
error: unknown directive | ||
--> $DIR/inline-syntax.rs:61:13 | ||
| | ||
LL | .intel_syntax noprefix | ||
| ^ | ||
| | ||
note: instantiated into assembly here | ||
--> <inline asm>:2:13 | ||
| | ||
LL | .intel_syntax noprefix | ||
| ^ | ||
|
||
error: aborting due to 8 previous errors | ||
|
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