[PATCH] D45024: [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 26 23:07:38 PDT 2018


HsiangKai updated this revision to Diff 144282.
HsiangKai marked 4 inline comments as done.
HsiangKai added a comment.

- Update according to review comments.


Repository:
  rL LLVM

https://reviews.llvm.org/D45024

Files:
  .gitattributes
  include/llvm/Analysis/TargetTransformInfoImpl.h
  include/llvm/Bitcode/LLVMBitCodes.h
  include/llvm/IR/DIBuilder.h
  include/llvm/IR/DebugInfoMetadata.h
  include/llvm/IR/InstVisitor.h
  include/llvm/IR/IntrinsicInst.h
  include/llvm/IR/Intrinsics.td
  include/llvm/IR/Metadata.def
  lib/Analysis/ObjCARCInstKind.cpp
  lib/Analysis/ValueTracking.cpp
  lib/AsmParser/LLParser.cpp
  lib/Bitcode/Reader/MetadataLoader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/IntrinsicLowering.cpp
  lib/IR/AsmWriter.cpp
  lib/IR/DIBuilder.cpp
  lib/IR/DebugInfo.cpp
  lib/IR/DebugInfoMetadata.cpp
  lib/IR/LLVMContextImpl.h
  lib/IR/Verifier.cpp
  lib/Transforms/Utils/Local.cpp
  lib/Transforms/Utils/SimplifyCFG.cpp
  test/Analysis/GlobalsModRef/pr35899-dbg-value.ll
  test/Analysis/ScalarEvolution/flags-from-poison-dbg.ll
  test/Assembler/debug-label-bitcode.ll
  test/Assembler/disubprogram.ll
  test/Assembler/drop-debug-info.ll
  test/Bitcode/DILocalVariable-explicit-tags.ll
  test/Bitcode/dilocalvariable-3.9.ll
  test/Bitcode/disubrange-v0.ll
  test/Bitcode/disubrange.ll
  test/Bitcode/upgrade-dbg-value.ll
  test/Bitcode/upgrade-subprogram-this.ll
  test/CodeGen/AArch64/GlobalISel/debug-insts.ll
  test/CodeGen/AArch64/GlobalISel/regbankselect-dbg-value.mir
  test/CodeGen/AArch64/GlobalISel/select-dbg-value.mir
  test/CodeGen/AArch64/aarch64-2014-08-11-MachineCombinerCrash.ll
  test/CodeGen/AArch64/arm64-spill-remarks-treshold-hotness.ll
  test/CodeGen/AArch64/arm64-spill-remarks.ll
  test/CodeGen/AArch64/machine-outliner-remarks.ll
  test/CodeGen/AArch64/phi-dbg.ll
  test/CodeGen/AMDGPU/debug-value2.ll
  test/CodeGen/AMDGPU/debugger-emit-prologue.ll
  test/CodeGen/AMDGPU/debugger-insert-nops.ll
  test/CodeGen/AMDGPU/debugger-reserve-regs.ll
  test/CodeGen/AMDGPU/hsa-metadata-kernel-debug-props.ll
  test/CodeGen/AMDGPU/inserted-wait-states.mir
  test/CodeGen/AMDGPU/llvm.dbg.value.ll
  test/CodeGen/AMDGPU/regcoalesce-dbg.mir
  test/CodeGen/AMDGPU/rewrite-out-arguments.ll
  test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
  test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
  test/CodeGen/ARM/2016-08-24-ARM-LDST-dbginfo-bug.ll
  test/CodeGen/ARM/ARMLoadStoreDBG.mir
  test/CodeGen/ARM/coalesce-dbgvalue.ll
  test/CodeGen/ARM/constantpool-promote-dbg.ll
  test/CodeGen/ARM/dbg-range-extension.mir
  test/CodeGen/ARM/debug-frame-vararg.ll
  test/CodeGen/ARM/debug-frame.ll
  test/CodeGen/ARM/debug-info-arg.ll
  test/CodeGen/ARM/debug-info-branch-folding.ll
  test/CodeGen/ARM/debug-info-d16-reg.ll
  test/CodeGen/ARM/debug-info-no-frame.ll
  test/CodeGen/ARM/debug-info-qreg.ll
  test/CodeGen/ARM/debug-info-s16-reg.ll
  test/CodeGen/ARM/debug-info-sreg2.ll
  test/CodeGen/ARM/debug-segmented-stacks.ll
  test/CodeGen/ARM/early-cfi-sections.ll
  test/CodeGen/ARM/sched-it-debug-nodes.mir
  test/CodeGen/ARM/vfp-regs-dwarf.ll
  test/CodeGen/BPF/dwarfdump.ll
  test/CodeGen/BPF/warn-call.ll
  test/CodeGen/BPF/warn-stack.ll
  test/CodeGen/Generic/cfi-sections.ll
  test/CodeGen/Hexagon/cfi-late-and-regpressure-init.ll
  test/CodeGen/Hexagon/cfi-late.ll
  test/CodeGen/Hexagon/copy-to-combine-dbg.ll
  test/CodeGen/Hexagon/debug-line_table_start.ll
  test/CodeGen/Hexagon/debug-prologue-loc.ll
  test/CodeGen/Hexagon/debug-prologue.ll
  test/CodeGen/Hexagon/dwarf-discriminator.ll
  test/CodeGen/Hexagon/hasfp-crash1.ll
  test/CodeGen/Hexagon/hasfp-crash2.ll
  test/CodeGen/Hexagon/hwloop-dbg.ll
  test/CodeGen/Hexagon/misched-top-rptracker-sync.ll
  test/CodeGen/MIR/X86/diexpr-win32.mir
  test/CodeGen/MIR/X86/expected-metadata-node-after-debug-location.mir
  test/CodeGen/MIR/X86/expected-metadata-node-after-exclaim.mir
  test/CodeGen/MIR/X86/instructions-debug-location.mir
  test/CodeGen/MIR/X86/metadata-operands.mir
  test/CodeGen/MIR/X86/unknown-metadata-node.mir
  test/CodeGen/Mips/pr34975.ll
  test/CodeGen/Mips/pr35071.ll
  test/CodeGen/NVPTX/generic-to-nvvm-ir.ll
  test/CodeGen/PowerPC/dbg.ll
  test/CodeGen/PowerPC/debuginfo-split-int.ll
  test/CodeGen/PowerPC/debuginfo-stackarg.ll
  test/CodeGen/PowerPC/pr17168.ll
  test/CodeGen/PowerPC/pr24546.ll
  test/CodeGen/PowerPC/unwind-dw2-g.ll
  test/CodeGen/WebAssembly/dbgvalue.ll
  test/CodeGen/WebAssembly/reg-stackify.ll
  test/CodeGen/WinEH/wineh-cloning.ll
  test/CodeGen/X86/2010-05-25-DotDebugLoc.ll
  test/CodeGen/X86/2010-05-26-DotDebugLoc.ll
  test/CodeGen/X86/2010-05-28-Crash.ll
  test/CodeGen/X86/2010-11-02-DbgParameter.ll
  test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll
  test/CodeGen/X86/MachineSink-DbgValue.ll
  test/CodeGen/X86/PR34565.ll
  test/CodeGen/X86/bit-piece-comment.ll
  test/CodeGen/X86/dbg-baseptr.ll
  test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll
  test/CodeGen/X86/dbg-changes-codegen-branch-folding2.mir
  test/CodeGen/X86/dbg-combine.ll
  test/CodeGen/X86/dbg-line-0-no-discriminator.ll
  test/CodeGen/X86/debug-nodebug-crash.ll
  test/CodeGen/X86/debugloc-argsize.ll
  test/CodeGen/X86/debugloc-no-line-0.ll
  test/CodeGen/X86/early-cfi-sections.ll
  test/CodeGen/X86/fp128-g.ll
  test/CodeGen/X86/fpstack-debuginstr-kill.ll
  test/CodeGen/X86/frame-order.ll
  test/CodeGen/X86/label-annotation.ll
  test/CodeGen/X86/lea-opt-with-debug.mir
  test/CodeGen/X86/loc-remat.ll
  test/CodeGen/X86/machine-outliner-debuginfo.ll
  test/CodeGen/X86/machine-outliner-disubprogram.ll
  test/CodeGen/X86/machinesink-merge-debuginfo.ll
  test/CodeGen/X86/machinesink-null-debuginfo.ll
  test/CodeGen/X86/misched-code-difference-with-debug.ll
  test/CodeGen/X86/movpc32-check.ll
  test/CodeGen/X86/push-cfi-debug.ll
  test/CodeGen/X86/shrink_wrap_dbg_value.mir
  test/CodeGen/X86/sink-local-value.ll
  test/CodeGen/X86/stack-protector-dbginfo.ll
  test/CodeGen/X86/tail-dup-debugloc.ll
  test/CodeGen/X86/xor-combine-debugloc.ll
  test/CodeGen/XCore/dwarf_debug.ll
  test/DebugInfo/AArch64/asan-stack-vars.ll
  test/DebugInfo/AArch64/cfi-eof-prologue.ll
  test/DebugInfo/AArch64/coalescing.ll
  test/DebugInfo/AArch64/constant-dbgloc.ll
  test/DebugInfo/AArch64/dagcombine-zext.ll
  test/DebugInfo/AArch64/dbg-value-i8.ll
  test/DebugInfo/AArch64/dwarfdump.ll
  test/DebugInfo/AArch64/frameindices.ll
  test/DebugInfo/AArch64/inlined-argument.ll
  test/DebugInfo/AArch64/prologue_end.ll
  test/DebugInfo/AArch64/struct_by_value.ll
  test/DebugInfo/AMDGPU/code-pointer-size.ll
  test/DebugInfo/AMDGPU/dbg-value-sched-crash.ll
  test/DebugInfo/AMDGPU/dwarfdump-relocs.ll
  test/DebugInfo/AMDGPU/pointer-address-space.ll
  test/DebugInfo/AMDGPU/variable-locations.ll
  test/DebugInfo/ARM/PR16736.ll
  test/DebugInfo/ARM/PR26163.ll
  test/DebugInfo/ARM/cfi-eof-prologue.ll
  test/DebugInfo/ARM/constant-dbgloc.ll
  test/DebugInfo/ARM/float-args.ll
  test/DebugInfo/ARM/header.ll
  test/DebugInfo/ARM/illegal-fragment.ll
  test/DebugInfo/ARM/lowerbdgdeclare_vla.ll
  test/DebugInfo/ARM/multiple-constant-uses-drops-dbgloc.ll
  test/DebugInfo/ARM/partial-subreg.ll
  test/DebugInfo/ARM/prologue_end.ll
  test/DebugInfo/ARM/s-super-register.ll
  test/DebugInfo/ARM/salvage-debug-info.ll
  test/DebugInfo/ARM/sdag-split-arg.ll
  test/DebugInfo/ARM/sdag-split-arg1.ll
  test/DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll
  test/DebugInfo/ARM/split-complex.ll
  test/DebugInfo/ARM/sroa-complex.ll
  test/DebugInfo/COFF/array-odr-violation.ll
  test/DebugInfo/COFF/asan-module-ctor.ll
  test/DebugInfo/COFF/asm.ll
  test/DebugInfo/COFF/comdat.ll
  test/DebugInfo/COFF/cpp-mangling.ll
  test/DebugInfo/COFF/defer-complete-type.ll
  test/DebugInfo/COFF/dlang.ll
  test/DebugInfo/COFF/fp-stack.ll
  test/DebugInfo/COFF/fpo-argsize.ll
  test/DebugInfo/COFF/fpo-csrs.ll
  test/DebugInfo/COFF/fpo-funclet.ll
  test/DebugInfo/COFF/fpo-realign-alloca.ll
  test/DebugInfo/COFF/fpo-shrink-wrap.ll
  test/DebugInfo/COFF/fpo-stack-protect.ll
  test/DebugInfo/COFF/global-type-hashes.ll
  test/DebugInfo/COFF/inlining-files.ll
  test/DebugInfo/COFF/inlining-header.ll
  test/DebugInfo/COFF/inlining-levels.ll
  test/DebugInfo/COFF/inlining-padding.ll
  test/DebugInfo/COFF/inlining-same-name.ll
  test/DebugInfo/COFF/inlining.ll
  test/DebugInfo/COFF/lexicalblock.ll
  test/DebugInfo/COFF/lines-bb-start.ll
  test/DebugInfo/COFF/lines-difile.ll
  test/DebugInfo/COFF/local-constant.ll
  test/DebugInfo/COFF/local-variable-gap.ll
  test/DebugInfo/COFF/local-variables.ll
  test/DebugInfo/COFF/long-name.ll
  test/DebugInfo/COFF/multifile.ll
  test/DebugInfo/COFF/multifunction.ll
  test/DebugInfo/COFF/parameter-order.ll
  test/DebugInfo/COFF/pieces.ll
  test/DebugInfo/COFF/pr28747.ll
  test/DebugInfo/COFF/purge-typedef-udts.ll
  test/DebugInfo/COFF/register-variables.ll
  test/DebugInfo/COFF/retained-types.ll
  test/DebugInfo/COFF/scopes.ll
  test/DebugInfo/COFF/simple.ll
  test/DebugInfo/COFF/static-methods.ll
  test/DebugInfo/COFF/synthetic.ll
  test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll
  test/DebugInfo/COFF/type-quals.ll
  test/DebugInfo/COFF/typedef.ll
  test/DebugInfo/COFF/types-array-advanced.ll
  test/DebugInfo/COFF/types-array.ll
  test/DebugInfo/COFF/types-basic.ll
  test/DebugInfo/COFF/types-calling-conv.ll
  test/DebugInfo/COFF/types-cvarargs.ll
  test/DebugInfo/COFF/types-data-members.ll
  test/DebugInfo/COFF/types-non-virtual-methods.ll
  test/DebugInfo/COFF/types-recursive-struct.ll
  test/DebugInfo/COFF/udts.ll
  test/DebugInfo/COFF/vftables.ll
  test/DebugInfo/COFF/virtual-method-kinds.ll
  test/DebugInfo/COFF/virtual-methods.ll
  test/DebugInfo/COFF/vtable-optzn-array.ll
  test/DebugInfo/Generic/2009-11-10-CurrentFn.ll
  test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll
  test/DebugInfo/Generic/PR20038.ll
  test/DebugInfo/Generic/block-asan.ll
  test/DebugInfo/Generic/constant-pointers.ll
  test/DebugInfo/Generic/constant-sdnodes-have-dbg-location.ll
  test/DebugInfo/Generic/constantfp-sdnodes-have-dbg-location.ll
  test/DebugInfo/Generic/containing-type-extension.ll
  test/DebugInfo/Generic/cross-cu-inlining.ll
  test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll
  test/DebugInfo/Generic/cross-cu-linkonce.ll
  test/DebugInfo/Generic/cu-range-hole.ll
  test/DebugInfo/Generic/cu-ranges.ll
  test/DebugInfo/Generic/dead-argument-order.ll
  test/DebugInfo/Generic/debug-info-qualifiers.ll
  test/DebugInfo/Generic/debuginfofinder-inlined-cu.ll
  test/DebugInfo/Generic/debuginfofinder-multiple-cu.ll
  test/DebugInfo/Generic/def-line.ll
  test/DebugInfo/Generic/discriminated-union.ll
  (481 more files...)





More information about the llvm-commits mailing list