[PATCH] D41980: Add tests for llvm-bcanalyzer stream types

Brian Gesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 12 09:04:59 PST 2018


modocache added inline comments.


================
Comment at: test/PCH/include-stream-type.cpp:7
+// RUN: cp %S/Inputs/pragma-once2.h %t-dir
+// RUN: %clang_cc1 -x c++-header -emit-pch -o %t %t-dir/pragma-once2-pch.h
+// RUN: llvm-bcanalyzer -dump %t | FileCheck %s
----------------
aprantl wrote:
> You may need to pass an explicit -fmodule-format=raw for this to work on macOS. Did you test there?
Yup, I tested this on my macOS host machine and it seems to pass. Should add that option anyway, just in case?


Repository:
  rC Clang

https://reviews.llvm.org/D41980





More information about the cfe-commits mailing list