OSDN Git Service

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)
commit1f756b137ecc03d2870b425a7707b0511435524b
tree003d10602f74f527d07d885cc6fe8f65e3b0c72c
parentf0a58295f35593b75b445ea385862efafd406a3d
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265333 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/dllexport-x86_64.ll