[PATCH] D45255: [CodeGen] Add an option to suppress output of llvm.ident

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 11 09:44:30 PDT 2018


aprantl added a comment.

What's your use-case for this?



================
Comment at: test/CodeGen/no-ident-version.c:4
+// CHECK-NOT: llvm.ident
+// CHECK-NOT: producer:
+int main(void) {}
----------------
You'll also want to check for something positive, otherwise this test will succeed even if clang is symlinked to /bin/true :-)


https://reviews.llvm.org/D45255





More information about the cfe-commits mailing list