[PATCH] D30673: Don't emit inrange for vtable address point when it is not in range.

Evgeniy Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 17:23:32 PST 2017


eugenis created this revision.

Classes without virtual methods have address point immediately after the virtual table.
Accessing it through inrange getelementptr confuses the global split pass


Repository:
  rL LLVM

https://reviews.llvm.org/D30673

Files:
  include/clang/AST/VTableBuilder.h
  lib/AST/VTableBuilder.cpp
  lib/CodeGen/CGVTT.cpp
  lib/CodeGen/CGVTables.cpp
  lib/CodeGen/CGVTables.h
  lib/CodeGen/ItaniumCXXABI.cpp
  test/CodeGenCXX/vtable-pointer-initialization.cpp
  test/CodeGenCXX/vtt-layout.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30673.90770.patch
Type: text/x-patch
Size: 23666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/1522d9e8/attachment.bin>


More information about the llvm-commits mailing list