[all-commits] [llvm/llvm-project] 94c6df: [clang] Implement setting crash_diagnostics_dir th...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Tue Sep 6 10:28:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94c6dfbaebbd5b9474794b2437757dfb6aedefc3
      https://github.com/llvm/llvm-project/commit/94c6dfbaebbd5b9474794b2437757dfb6aedefc3
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/lib/Driver/Driver.cpp
    A clang/test/Driver/crash-diagnostics-dir-3.c
    M libcxx/utils/ci/buildkite-pipeline.yml

  Log Message:
  -----------
  [clang] Implement setting crash_diagnostics_dir through env variable

This implements setting the equivalent of `-fcrash-diagnostics-dir`
through the environment variable `CLANG_CRASH_DIAGNOSTICS_DIR`.
If present, the flag still takes precedence.

This helps integration with test frameworks and pipelines.

With this feature, we change the libcxx bootstrapping build
pipeline to produce clang crash reproducers as artifacts.

Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>

Differential Revision: https://reviews.llvm.org/D133082




More information about the All-commits mailing list