[PATCH] D97986: BPF: permit type modifiers for __builtin_btf_type_id() relocation
Andrii Nakryiko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 4 15:25:13 PST 2021
anakryiko added inline comments.
================
Comment at: llvm/lib/Target/BPF/BPFPreserveDIType.cpp:91
+ if (Tag != dwarf::DW_TAG_const_type &&
+ Tag != dwarf::DW_TAG_volatile_type)
+ break;
----------------
should we strip `restrict` as well?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97986/new/
https://reviews.llvm.org/D97986
More information about the llvm-commits
mailing list