[PATCH] D147207: [llvm-mc] Fix line_end_with_space.test

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 16:27:27 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG71dbd864f19f: [llvm-mc] Fix line_end_with_space.test (authored by aidengrossman).

Changed prior to commit:
  https://reviews.llvm.org/D147207?vs=509573&id=510145#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147207/new/

https://reviews.llvm.org/D147207

Files:
  llvm/test/tools/llvm-mc/line_end_with_space.test


Index: llvm/test/tools/llvm-mc/line_end_with_space.test
===================================================================
--- llvm/test/tools/llvm-mc/line_end_with_space.test
+++ llvm/test/tools/llvm-mc/line_end_with_space.test
@@ -1 +1,3 @@
-RUN: llvm-mc -disassemble %s
+# Test that llvm-mc doesn't crash when disassembling a line that ends with a
+# space.
+RUN: echo -n ' ' | llvm-mc -disassemble


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147207.510145.patch
Type: text/x-patch
Size: 403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230331/7b7baf5a/attachment.bin>


More information about the llvm-commits mailing list