Fix: [MCParser] Correctly handle CRLF line ends when consuming line comments
Fixes an issue with revision 5c6f748c
.
Move the test added in the above commit into the X86 folder, ensuring
that it is only run on targets where its triple is valid.
This commit is contained in:
parent
d2b574a4de
commit
ad40cb8821
|
@ -17,4 +17,4 @@ test/YAMLParser/spec-09-02.test binary
|
||||||
# binary and not autoconvert line endings (for example, when core.autocrlf is
|
# binary and not autoconvert line endings (for example, when core.autocrlf is
|
||||||
# on).
|
# on).
|
||||||
test/MC/AsmParser/preserve-comments-crlf.s binary
|
test/MC/AsmParser/preserve-comments-crlf.s binary
|
||||||
test/tools/llvm-mca/directives-handle-crlf.s binary
|
test/tools/llvm-mca/X86/directives-handle-crlf.s binary
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown %s
|
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown %s
|
||||||
# LLVM-MCA-BEGIN foo
|
# LLVM-MCA-BEGIN foo
|
||||||
addl $42, %eax
|
addl $42, %eax
|
||||||
# LLVM-MCA-END
|
# LLVM-MCA-END
|
Loading…
Reference in New Issue