[all-commits] [llvm/llvm-project] fafddb: Revert "[Clang][Driver] Remove -M group options .....

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Thu Feb 6 18:01:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fafddbd956dbe439787f6d717c247e648bb07ff5
      https://github.com/llvm/llvm-project/commit/fafddbd956dbe439787f6d717c247e648bb07ff5
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2020-02-06 (Thu, 06 Feb 2020)

  Changed paths:
    M clang/include/clang/Driver/CC1Options.td
    M clang/include/clang/Lex/PreprocessorOptions.h
    M clang/lib/Driver/Compilation.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Lex/Pragma.cpp
    M clang/test/Driver/crash-report.c
    M clang/test/Driver/output-file-cleanup.c

  Log Message:
  -----------
  Revert "[Clang][Driver] Remove -M group options ..." and "[Clang] Avoid crashing when generating crash diagnostics when '#pragma clang __debug ..."

This reverts commits f41ec709d9d388dc43469e6ac7f51b6313f7e4af and 5fedc2b410853a6aef05e8edf19ebfc4e071e28f. On some buildbots, Clang :: Driver/crash-report.c is broken with:

```
Command Output (stderr):
--
/home/buildslave/ps4-buildslave1/clang-with-thin-lto-ubuntu/llvm-project/clang/test/Driver/crash-report.c:48:11: error: CHECK: expected string not found in input
// CHECK: Preprocessed source(s) and associated run script(s) are located at:
          ^
<stdin>:1:1: note: scanning from here
/home/buildslave/ps4-buildslave1/clang-with-thin-lto-ubuntu/llvm-project/clang/test/Driver/crash-report.c:50:1: error: unknown type name 'BAZ'
```

Example: http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/21321/steps/test-stage1-compiler/logs/stdio




More information about the All-commits mailing list