[PATCH] D148242: BPF: Add name_off and name to emitted BTF comments

Dave Marchevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 08:52:06 PDT 2023


davemarchevsky created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
davemarchevsky requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

https://reviews.llvm.org/D148242

Files:
  llvm/lib/Target/BPF/BTFDebug.cpp
  llvm/lib/Target/BPF/BTFDebug.h
  llvm/test/CodeGen/BPF/BTF/array-1d-char.ll
  llvm/test/CodeGen/BPF/BTF/array-1d-int.ll
  llvm/test/CodeGen/BPF/BTF/array-2d-int.ll
  llvm/test/CodeGen/BPF/BTF/array-size-0.ll
  llvm/test/CodeGen/BPF/BTF/array-typedef.ll
  llvm/test/CodeGen/BPF/BTF/builtin-btf-type-id-2.ll
  llvm/test/CodeGen/BPF/BTF/builtin-btf-type-id.ll
  llvm/test/CodeGen/BPF/BTF/char.ll
  llvm/test/CodeGen/BPF/BTF/double.ll
  llvm/test/CodeGen/BPF/BTF/enum-basic.ll
  llvm/test/CodeGen/BPF/BTF/extern-builtin.ll
  llvm/test/CodeGen/BPF/BTF/extern-func-arg.ll
  llvm/test/CodeGen/BPF/BTF/extern-func-ptr.ll
  llvm/test/CodeGen/BPF/BTF/extern-global-var.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-func-weak-section.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-func-weak.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-func.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-section.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-struct-weak.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-struct.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-weak-section.ll
  llvm/test/CodeGen/BPF/BTF/filename.ll
  llvm/test/CodeGen/BPF/BTF/float.ll
  llvm/test/CodeGen/BPF/BTF/func-func-ptr.ll
  llvm/test/CodeGen/BPF/BTF/func-non-void.ll
  llvm/test/CodeGen/BPF/BTF/func-source.ll
  llvm/test/CodeGen/BPF/BTF/func-typedef.ll
  llvm/test/CodeGen/BPF/BTF/func-unused-arg.ll
  llvm/test/CodeGen/BPF/BTF/func-void.ll
  llvm/test/CodeGen/BPF/BTF/fwd-no-define.ll
  llvm/test/CodeGen/BPF/BTF/fwd-with-define.ll
  llvm/test/CodeGen/BPF/BTF/global-var-bss-and-data.ll
  llvm/test/CodeGen/BPF/BTF/global-var-inited.ll
  llvm/test/CodeGen/BPF/BTF/global-var-sec-readonly.ll
  llvm/test/CodeGen/BPF/BTF/global-var-sec.ll
  llvm/test/CodeGen/BPF/BTF/int.ll
  llvm/test/CodeGen/BPF/BTF/local-var.ll
  llvm/test/CodeGen/BPF/BTF/longlong.ll
  llvm/test/CodeGen/BPF/BTF/map-def-2.ll
  llvm/test/CodeGen/BPF/BTF/map-def-3.ll
  llvm/test/CodeGen/BPF/BTF/map-def.ll
  llvm/test/CodeGen/BPF/BTF/pruning-const.ll
  llvm/test/CodeGen/BPF/BTF/pruning-dup-ptr-struct.ll
  llvm/test/CodeGen/BPF/BTF/pruning-multi-derived-type.ll
  llvm/test/CodeGen/BPF/BTF/pruning-typedef.ll
  llvm/test/CodeGen/BPF/BTF/ptr-const-void.ll
  llvm/test/CodeGen/BPF/BTF/ptr-func-1.ll
  llvm/test/CodeGen/BPF/BTF/ptr-func-2.ll
  llvm/test/CodeGen/BPF/BTF/ptr-func-3.ll
  llvm/test/CodeGen/BPF/BTF/ptr-int.ll
  llvm/test/CodeGen/BPF/BTF/ptr-prune-type.ll
  llvm/test/CodeGen/BPF/BTF/ptr-void.ll
  llvm/test/CodeGen/BPF/BTF/ptr-volatile-const-void.ll
  llvm/test/CodeGen/BPF/BTF/ptr-volatile-void.ll
  llvm/test/CodeGen/BPF/BTF/restrict-ptr.ll
  llvm/test/CodeGen/BPF/BTF/short.ll
  llvm/test/CodeGen/BPF/BTF/static-func.ll
  llvm/test/CodeGen/BPF/BTF/static-var-derived-type.ll
  llvm/test/CodeGen/BPF/BTF/static-var-inited-sec.ll
  llvm/test/CodeGen/BPF/BTF/static-var-inited.ll
  llvm/test/CodeGen/BPF/BTF/static-var-readonly-sec.ll
  llvm/test/CodeGen/BPF/BTF/static-var-readonly.ll
  llvm/test/CodeGen/BPF/BTF/static-var-sec.ll
  llvm/test/CodeGen/BPF/BTF/static-var-zerolen-array.ll
  llvm/test/CodeGen/BPF/BTF/static-var.ll
  llvm/test/CodeGen/BPF/BTF/struct-anon-2.ll
  llvm/test/CodeGen/BPF/BTF/struct-anon.ll
  llvm/test/CodeGen/BPF/BTF/struct-basic.ll
  llvm/test/CodeGen/BPF/BTF/struct-bitfield-typedef.ll
  llvm/test/CodeGen/BPF/BTF/struct-enum.ll
  llvm/test/CodeGen/BPF/BTF/tag-1.ll
  llvm/test/CodeGen/BPF/BTF/tag-2.ll
  llvm/test/CodeGen/BPF/BTF/tag-extern-func.ll
  llvm/test/CodeGen/BPF/BTF/tag-typedef.ll
  llvm/test/CodeGen/BPF/BTF/type-tag-fixup-fwd.ll
  llvm/test/CodeGen/BPF/BTF/type-tag-fixup-resolved.ll
  llvm/test/CodeGen/BPF/BTF/type-tag-var.ll
  llvm/test/CodeGen/BPF/BTF/uchar.ll
  llvm/test/CodeGen/BPF/BTF/uint.ll
  llvm/test/CodeGen/BPF/BTF/ulonglong.ll
  llvm/test/CodeGen/BPF/BTF/union-array-typedef.ll
  llvm/test/CodeGen/BPF/BTF/ushort.ll
  llvm/test/CodeGen/BPF/BTF/weak-global-2.ll
  llvm/test/CodeGen/BPF/BTF/weak-global-3.ll
  llvm/test/CodeGen/BPF/BTF/weak-global.ll
  llvm/test/CodeGen/BPF/CORE/anon-struct-argument-pragma.ll
  llvm/test/CodeGen/BPF/CORE/anon-union-localvar-attr.ll
  llvm/test/CodeGen/BPF/CORE/anon-union-localvar-pragma.ll
  llvm/test/CodeGen/BPF/CORE/btf-id-duplicate.ll
  llvm/test/CodeGen/BPF/CORE/field-reloc-alu32.ll
  llvm/test/CodeGen/BPF/CORE/field-reloc-bitfield-1-bpfeb.ll
  llvm/test/CodeGen/BPF/CORE/field-reloc-bitfield-1.ll
  llvm/test/CodeGen/BPF/CORE/field-reloc-bitfield-2-bpfeb.ll
  llvm/test/CodeGen/BPF/CORE/field-reloc-bitfield-2.ll
  llvm/test/CodeGen/BPF/CORE/field-reloc-bitfield-record-align16.ll
  llvm/test/CodeGen/BPF/CORE/field-reloc-duplicate.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-array-2.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-byte-size-1.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-byte-size-2.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-byte-size-3.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-byte-size-4.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-existence-1.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-existence-2.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-existence-3.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-existence-4.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-lshift-1-bpfeb.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-lshift-1.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-lshift-2.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-rshift-1.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-rshift-2.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-rshift-3.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-signedness-1.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-signedness-2.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-signedness-3.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-typeinfo-enum-value-opaque-pointer.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-typeinfo-enum-value.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-typeinfo-type-exist.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-typeinfo-type-match.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-typeinfo-type-size-1.ll
  llvm/test/CodeGen/BPF/CORE/intrinsic-typeinfo-type-size-2.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-basic.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-cast-array-1.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-cast-array-2.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-1.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-2.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-3.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-cast-union-1.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-cast-union-2.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-end-load.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-end-ret.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-fieldinfo-2-bpfeb.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-fieldinfo-2.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-global-1.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-global-2.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-global-3.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-middle-chain.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-multi-array-1.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-multi-array-2.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-multilevel.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-pointer-1.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-pointer-2.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-struct-anonymous.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-array.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-struct-2.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-struct.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-union-2.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-union.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-typedef.ll
  llvm/test/CodeGen/BPF/CORE/offset-reloc-union.ll
  llvm/test/ExecutionEngine/RuntimeDyld/BPF/nodyld32-64-relocations.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148242.513263.patch
Type: text/x-patch
Size: 234357 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230413/ac4f0c56/attachment-0001.bin>


More information about the llvm-commits mailing list