Beef up some dllexport tests.
authorSean Silva <chisophugis@gmail.com>
Mon, 4 Apr 2016 19:10:55 +0000 (19:10 +0000)
committerSean Silva <chisophugis@gmail.com>
Mon, 4 Apr 2016 19:10:55 +0000 (19:10 +0000)
commitf4517a15b8144505c647a17a734b53586f1fb359
treed82ce0a21b01f57600e36f7559c6c0fabb72322f
parentb5792b231b63469975353db6b899ed524cfb75a6
Beef up some dllexport tests.

Adds some dllexport tests to verify that:
  - Variables in bss are exported appropriately
  - Non-dllexport symbols aliased to dllexport symbols are not exported
  - Symbols declared as dllexport but are not defined are not exported

We plan to enable dllimport/dllexport support for the PS4, and these
additional tests are for points we noticed in our internal testing.

Patch by Warren Ristow!

Differential Revision: http://reviews.llvm.org/D18682

llvm-svn: 265333
llvm/test/CodeGen/X86/dllexport-x86_64.ll