[all-commits] [llvm/llvm-project] 6d0389: [CodeView] Add option to disable inline line tables.

Amy Huang via All-commits all-commits at lists.llvm.org
Wed Oct 30 16:57:45 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d03890384517919a3ba7fe4c35535425f278f89
      https://github.com/llvm/llvm-project/commit/6d03890384517919a3ba7fe4c35535425f278f89
  Author: Amy Huang <akhuang at google.com>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/CodeGen/debug-info-no-inline-line-tables.c
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/Attributes.td
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    A llvm/test/Transforms/Inline/no-inline-line-tables.ll

  Log Message:
  -----------
  [CodeView] Add option to disable inline line tables.

Summary:
This adds a clang option to disable inline line tables. When it is used,
the inliner uses the call site as the location of the inlined function instead of
marking it as an inline location with the function location.

See https://bugs.llvm.org/show_bug.cgi?id=42344

Reviewers: rnk

Subscribers: hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

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




More information about the All-commits mailing list