[PATCH] D83812: [clang][RelativeVTablesABI] Do not emit stubs for architectures that support a PLT relocation
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 17 11:07:29 PDT 2020
rjmccall added inline comments.
================
Comment at: clang/lib/CodeGen/CGVTables.cpp:633
+ auto Arch = targetTriple.getArch();
+ if (Arch == llvm::Triple::aarch64 || Arch == llvm::Triple::x86_64)
+ return false;
----------------
Could you add a method to TargetCodeGenInfo for this instead of hard-coding a list of architectures here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83812/new/
https://reviews.llvm.org/D83812
More information about the cfe-commits
mailing list