]> granicus.if.org Git - clang/commit
Alias must point to a definition
authorAditya Kumar <hiraditya@msn.com>
Sun, 2 Oct 2016 03:06:36 +0000 (03:06 +0000)
committerAditya Kumar <hiraditya@msn.com>
Sun, 2 Oct 2016 03:06:36 +0000 (03:06 +0000)
commit2127f33091b716cd9013fffa894366cc69dcf102
tree7777c60d19ff0f47a2fede9098c0a56971113d51
parentc5743b9e16711fa80ee0816d4072c5e18d9007b1
Alias must point to a definition

Reapplying the patch after modifying the test case.

Inlining the destructor caused the compiler to generate bad IR which failed the Verifier in the backend.
https://llvm.org/bugs/show_bug.cgi?id=30341

This patch disables alias to available_externally definitions.

Reviewers: eugenis, rsmith

Differential Revision: https://reviews.llvm.org/D24682

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283063 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXX.cpp
test/CodeGenCXX/alias-available-externally.cpp [new file with mode: 0644]