[all-commits] [llvm/llvm-project] b0b516: [Driver] Pass -gno-column-info instead of -dwarf-c...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jul 5 11:50:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b0b5162fc23c55906a461366f8acef2431d951c5
      https://github.com/llvm/llvm-project/commit/b0b5162fc23c55906a461366f8acef2431d951c5
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-07-05 (Sun, 05 Jul 2020)

  Changed paths:
    M clang/include/clang/Driver/CC1Options.td
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/CodeGen/code-coverage.c
    M clang/test/CodeGen/linetable-endscope.c
    M clang/test/CodeGen/opt-record-MIR.c
    M clang/test/CodeGen/opt-record.c
    M clang/test/CodeGenCXX/PR20038.cpp
    M clang/test/CodeGenCXX/debug-info-inheriting-constructor.cpp
    M clang/test/CodeGenCXX/debug-info-inlined.cpp
    M clang/test/CodeGenCXX/debug-info-lambda.cpp
    M clang/test/CodeGenCXX/debug-info-line-if.cpp
    M clang/test/CodeGenCXX/debug-info-member-call.cpp
    M clang/test/CodeGenCXX/debug-info-nested-exprs.cpp
    M clang/test/CodeGenCXX/debug-info-scope.cpp
    M clang/test/CodeGenCXX/linetable-cleanup.cpp
    M clang/test/CodeGenCXX/linetable-eh.cpp
    M clang/test/CodeGenCXX/linetable-fnbegin.cpp
    M clang/test/CodeGenCXX/lpad-linetable.cpp
    M clang/test/CodeGenObjC/arc-linetable-autorelease.m
    M clang/test/CodeGenObjC/arc-linetable.m
    M clang/test/CodeGenOpenCL/enqueue-kernel-non-entry-block.cl
    M clang/test/CodeGenOpenCL/func-call-dbg-loc.cl
    M clang/test/Driver/cl-options.c
    M clang/test/Driver/codeview-column-info.c
    M clang/test/Driver/debug-options.c
    M clang/test/Frontend/optimization-remark-line-directive.c
    M clang/test/OpenMP/for_codegen.cpp
    M clang/test/OpenMP/parallel_codegen.cpp
    M clang/test/OpenMP/parallel_for_codegen.cpp

  Log Message:
  -----------
  [Driver] Pass -gno-column-info instead of -dwarf-column-info

Making -g[no-]column-info opt out reduces the length of a typical CC1 command line.
Additionally, in a non-debug compile, we won't see -dwarf-column-info.




More information about the All-commits mailing list