[PATCH] D54487: Implement llvm.commandline named metadata

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 13:42:07 PDT 2023


MaskRay added inline comments.
Herald added a subscriber: pengfei.
Herald added projects: LLVM, All.


================
Comment at: cfe/trunk/test/Driver/debug-options.c:161
+// RUN: %clang -### -c -grecord-command-line %s 2>&1 \
+//             | FileCheck -check-prefix=GRECORD %s
+// RUN: %clang -### -c -gno-record-command-line %s 2>&1 \
----------------
As the continuation line doesn't use `RUN:`, this command will always fail. We don't detect this error because `-###` subsumes many errors and return with 0. Caught by D156363


Repository:
  rL LLVM

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

https://reviews.llvm.org/D54487



More information about the llvm-commits mailing list