[PATCH] D83242: [clang][BPF] support type exist/size and enum exist/value relocations

Andrii Nakryiko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 4 11:06:00 PDT 2020


anakryiko added a comment.

> This is different than testing whether a type exists or not where we want to precisely test whether that type exists or not, so we want to preserve `typedef` type vs. `struct t` type.

`typedef t` and `struct t` are also different for field relocations (those t is in different namespaces, actually), so it might be a good idea to disambiguate those for field relocations as well?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83242/new/

https://reviews.llvm.org/D83242



More information about the cfe-commits mailing list