yonghong-song added a comment. One potential missing relocation is to test whether a particular enum value (from an enum type) exists or not.
One way is to create a new relocation type ENUM_VALUE_EXISTENCE where "access_string" to encode the enum value. This is different from TYPE_EXISTENCE for enum type where the "access_string" is "0". Alternatively, we could have TYPE_EXISTENCE to include enum value existence as well. "access_string" is say "0" for typedef/record/enum types and "0:<enum_value>" for enum value. WDYT? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D83242/new/ https://reviews.llvm.org/D83242 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits