[all-commits] [llvm/llvm-project] a82d3e: Reland "[DebugInfo] Enable the debug entry values ...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Tue Feb 18 05:41:24 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a82d3e8a6e67473c94a5ce6345372748e9b61718
      https://github.com/llvm/llvm-project/commit/a82d3e8a6e67473c94a5ce6345372748e9b61718
  Author: Djordje Todorovic <djordje.todorovic at rt-rk.com>
  Date:   2020-02-18 (Tue, 18 Feb 2020)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/CC1Options.td
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/CodeGen/debug-info-extern-call.c
    M clang/test/CodeGenCXX/dbg-info-all-calls-described.cpp
    M lldb/packages/Python/lldbsuite/test/decorators.py
    M lldb/test/API/functionalities/param_entry_vals/basic_entry_values_x86_64/Makefile
    M llvm/include/llvm/CodeGen/CommandFlags.inc
    M llvm/include/llvm/Target/TargetMachine.h
    M llvm/include/llvm/Target/TargetOptions.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
    M llvm/lib/CodeGen/LiveDebugValues.cpp
    M llvm/lib/CodeGen/MIRParser/MIRParser.cpp
    M llvm/lib/CodeGen/MachineFunction.cpp
    M llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
    M llvm/lib/CodeGen/TargetOptionsImpl.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMTargetMachine.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86TargetMachine.cpp
    M llvm/test/CodeGen/AArch64/arm64-anyregcc.ll
    M llvm/test/CodeGen/AArch64/arm64-patchpoint.ll
    M llvm/test/CodeGen/AArch64/arm64-tls-dynamics.ll
    M llvm/test/CodeGen/ARM/smml.ll
    M llvm/test/CodeGen/MIR/Hexagon/bundled-call-site-info.mir
    M llvm/test/CodeGen/MIR/X86/call-site-info-error1.mir
    M llvm/test/CodeGen/MIR/X86/call-site-info-error2.mir
    M llvm/test/CodeGen/MIR/X86/call-site-info-error3.mir
    M llvm/test/CodeGen/MIR/X86/call-site-info-error4.mir
    M llvm/test/CodeGen/X86/call-site-info-output.ll
    M llvm/test/CodeGen/X86/hoist-invariant-load.ll
    M llvm/test/CodeGen/X86/speculative-load-hardening-indirect.ll
    M llvm/test/CodeGen/X86/statepoint-allocas.ll
    M llvm/test/CodeGen/X86/tail-dup-repeat.ll
    M llvm/test/CodeGen/X86/xray-custom-log.ll
    M llvm/test/CodeGen/X86/xray-typed-event-log.ll
    M llvm/test/DebugInfo/AArch64/call-site-info-output.ll
    M llvm/test/DebugInfo/ARM/call-site-info-output.ll
    M llvm/test/DebugInfo/ARM/entry-value-multi-byte-expr.ll
    M llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-interpret-movzxi.mir
    M llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-interpretation.mir
    M llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-orr-moves.mir
    M llvm/test/DebugInfo/MIR/ARM/dbgcall-site-interpretation.mir
    M llvm/test/DebugInfo/MIR/ARM/dbgcall-site-propagated-value.mir
    M llvm/test/DebugInfo/MIR/ARM/if-coverter-call-site-info.mir
    M llvm/test/DebugInfo/MIR/Hexagon/dbgcall-site-instr-before-bundled-call.mir
    M llvm/test/DebugInfo/MIR/Hexagon/live-debug-values-bundled-entry-values.mir
    M llvm/test/DebugInfo/MIR/SystemZ/call-site-lzer.mir
    M llvm/test/DebugInfo/MIR/X86/DW_OP_entry_value.mir
    M llvm/test/DebugInfo/MIR/X86/call-site-gnu-vs-dwarf5-attrs.mir
    M llvm/test/DebugInfo/MIR/X86/dbg-call-site-spilled-arg-multiple-defs.mir
    M llvm/test/DebugInfo/MIR/X86/dbg-call-site-spilled-arg.mir
    M llvm/test/DebugInfo/MIR/X86/dbgcall-site-copy-super-sub.mir
    M llvm/test/DebugInfo/MIR/X86/dbgcall-site-interpretation.mir
    M llvm/test/DebugInfo/MIR/X86/dbgcall-site-lea-interpretation.mir
    M llvm/test/DebugInfo/MIR/X86/dbgcall-site-partial-describe.mir
    M llvm/test/DebugInfo/MIR/X86/dbgcall-site-reference.mir
    M llvm/test/DebugInfo/MIR/X86/dbgcall-site-reg-shuffle.mir
    M llvm/test/DebugInfo/MIR/X86/dbgcall-site-two-fwd-reg-defs.mir
    M llvm/test/DebugInfo/MIR/X86/dbginfo-entryvals.mir
    M llvm/test/DebugInfo/MIR/X86/debug-call-site-param.mir
    M llvm/test/DebugInfo/MIR/X86/entry-value-of-modified-param.mir
    M llvm/test/DebugInfo/MIR/X86/entry-values-diamond-bbs.mir
    M llvm/test/DebugInfo/MIR/X86/kill-entry-value-after-diamond-bbs.mir
    M llvm/test/DebugInfo/MIR/X86/multiple-param-dbg-value-entry.mir
    M llvm/test/DebugInfo/MIR/X86/propagate-entry-value-cross-bbs.mir
    M llvm/test/DebugInfo/MIR/X86/unreachable-block-call-site.mir
    M llvm/test/DebugInfo/Sparc/entry-value-complex-reg-expr.ll
    M llvm/test/DebugInfo/X86/dbg-value-range.ll
    M llvm/test/DebugInfo/X86/dbg-value-regmask-clobber.ll
    M llvm/test/DebugInfo/X86/dbgcall-site-64-bit-imms.ll
    M llvm/test/DebugInfo/X86/dbgcall-site-zero-valued-imms.ll
    M llvm/test/DebugInfo/X86/loclists-dwp.ll
    A llvm/test/DebugInfo/X86/no-entry-values-with-O0.ll
    M llvm/test/tools/llvm-dwarfdump/X86/locstats.ll
    M llvm/test/tools/llvm-dwarfdump/X86/stats-dbg-callsite-info.ll
    M llvm/test/tools/llvm-dwarfdump/X86/valid-call-site-GNU-extensions.ll
    M llvm/test/tools/llvm-locstats/locstats.ll

  Log Message:
  -----------
  Reland "[DebugInfo] Enable the debug entry values feature by default"

This patch enables the debug entry values feature.

  - Remove the (CC1) experimental -femit-debug-entry-values option
  - Enable it for x86, arm and aarch64 targets
  - Resolve the test failures
  - Leave the llc experimental option for targets that do not
    support the CallSiteInfo yet

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




More information about the All-commits mailing list