[all-commits] [llvm/llvm-project] 68b939: [driver] Make --version show if assertions, etc. a...

Cassie Jones via All-commits all-commits at lists.llvm.org
Fri Apr 5 10:01:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68b939f9311aaacd4a4fb6e41f86d81857d5c86e
      https://github.com/llvm/llvm-project/commit/68b939f9311aaacd4a4fb6e41f86d81857d5c86e
  Author: Cassie Jones <cassie_jones at apple.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    A clang/test/Driver/version-build-config.test
    M llvm/CMakeLists.txt
    M llvm/include/llvm/Config/config.h.cmake
    M llvm/include/llvm/Support/CommandLine.h
    M llvm/lib/Support/CommandLine.cpp

  Log Message:
  -----------
  [driver] Make --version show if assertions, etc. are enabled (#87585)

It's useful to have some significant build options visible in the
version when investigating problems with a specific compiler artifact.
This makes it easy to see if assertions, expensive checks, sanitizers,
etc. are enabled when checking a compiler version.

Example config line output:
Build configuration: +unoptimized, +assertions, +asan, +ubsan



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list