[PATCH] [analyzer] Prevent ccc/c++-analyzer from hanging on Windows.

Sylvestre Ledru sylvestre at debian.org
Sat Jun 13 03:12:13 PDT 2015


Sorry about the delay. I just tried again to build Firefox with your patch but it is breaking the build.
http://relman-ci.mozilla.org/job/firefox-scan-build/123/consoleFull

  In file included from /var/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-unknown-linux-gnu/toolkit/crashreporter/google-breakpad/src/common/Unified_cpp_src_common0.cpp:2:
  In file included from /var/lib/jenkins/workspace/firefox-scan-build/toolkit/crashreporter/google-breakpad/src/common/arm_ex_reader.cc:60:
  /var/lib/jenkins/workspace/firefox-scan-build/toolkit/crashreporter/google-breakpad/src/common/../common/logging.h:68:10: error: expected "FILENAME" or <FILENAME>
  #include BP_LOGGING_INCLUDE
           ^
  <command line>:1:28: note: expanded from here
  #define BP_LOGGING_INCLUDE BreakpadLogging.h

Command line:

  /usr/share/clang/scan-build-3.7/c++-analyzer -o host_arm_ex_reader.o -c -std=gnu++0x -MD -MP -MF .deps/host_arm_ex_reader.o.pp -DHAVE_A_OUT_H -I/var/lib/jenkins/workspace/firefox-scan-build/toolkit/crashreporter/google-breakpad/src/common -I. -I/var/lib/jenkins/workspace/firefox-scan-build/toolkit/crashreporter/google-breakpad/src/common/.. -I/var/lib/jenkins/workspace/firefox-scan-build/toolkit/crashreporter/google-breakpad/src/common/../../../breakpad-logging -I../../../../../dist/include  -I/var/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-unknown-linux-gnu/dist/include/nspr /var/lib/jenkins/workspace/firefox-scan-build/toolkit/crashreporter/google-breakpad/src/common/arm_ex_reader.cc

I am not sure what is going on but a rebuild without your patch works


http://reviews.llvm.org/D8774

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list