mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-13 13:45:16 +00:00
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
2
llvm/.gitattributes
vendored
2
llvm/.gitattributes
vendored
@ -17,4 +17,4 @@ test/YAMLParser/spec-09-02.test binary
|
||||
# binary and not autoconvert line endings (for example, when core.autocrlf is
|
||||
# on).
|
||||
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
|
||||
# LLVM-MCA-BEGIN foo
|
||||
addl $42, %eax
|
||||
# LLVM-MCA-END
|
||||
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown %s
|
||||
# LLVM-MCA-BEGIN foo
|
||||
addl $42, %eax
|
||||
# LLVM-MCA-END
|
Loading…
x
Reference in New Issue
Block a user