[PATCH] D74572: [BPF] preserve debuginfo types for builtin __builtin__btf_type_id()
Yonghong Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 4 18:18:46 PDT 2020
yonghong-song updated this revision to Diff 261977.
yonghong-song edited the summary of this revision.
yonghong-song added a comment.
add second argument to __builtin_btf_type_id(var, flag) to indicate whether a .BTF.ext relocation should be generated or not.
flag == 0, no reloc, flag == 1, reloc, others, error.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74572/new/
https://reviews.llvm.org/D74572
Files:
llvm/lib/Target/BPF/BPF.h
llvm/lib/Target/BPF/BPFCORE.h
llvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
llvm/lib/Target/BPF/BPFPreserveDIType.cpp
llvm/lib/Target/BPF/BPFTargetMachine.cpp
llvm/lib/Target/BPF/BTFDebug.cpp
llvm/lib/Target/BPF/BTFDebug.h
llvm/lib/Target/BPF/CMakeLists.txt
llvm/test/CodeGen/BPF/BTF/builtin-btf-type-id.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74572.261977.patch
Type: text/x-patch
Size: 28029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200505/dd95752d/attachment-0001.bin>
More information about the cfe-commits
mailing list