[PATCH] D83725: [llvm-mc] Add --doc-id=<id> to support multiple documents in a file

Richard Smith - zygoloid via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 17:42:11 PDT 2020


rsmith added a comment.

Would it make sense to split this into a separate utility, so you could use (eg)

  # RUN: extract bb %s | llvm-mc - 2>&1 | FileCheck %s --check-prefix=BB

in general, for any tool that can read from stdin? Or even

  # RUN: extract bb %s -o %t.bb
  # RUN: llvm-mc %t.bb 2>&1 | FileCheck %t.bb

... to consider only the `CHECK` lines in the extracted region?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83725





More information about the llvm-commits mailing list