diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2019-08-02 17:43:45 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2019-08-02 17:43:45 +0000 |
commit | 4dcf8800e2b8c2e43a9022054c6463a775851226 (patch) | |
tree | 631f9f7b3fd0f1f9e994987e7156e774cf4ae026 /llvm/test/Bitcode/globalvariable-attributes.ll | |
parent | 9ce5f41851fe8016b6495ef514d772c6bc72cad2 (diff) | |
download | bcm5719-llvm-4dcf8800e2b8c2e43a9022054c6463a775851226.tar.gz bcm5719-llvm-4dcf8800e2b8c2e43a9022054c6463a775851226.zip |
CodeGen: Don't follow aliases when extracting type info.
This fixes a crash in the case where the type info object is an alias
pointing to a non-zero offset within a global or is otherwise unanalyzable
by the stripPointerCasts() function. Looking through the alias is not the
right thing to do anyway for similar reasons as D65118.
Differential Revision: https://reviews.llvm.org/D65314
llvm-svn: 367696
Diffstat (limited to 'llvm/test/Bitcode/globalvariable-attributes.ll')
0 files changed, 0 insertions, 0 deletions