hanchenye-llvm-project/clang/test
David Majnemer 11a54c3465 AST: Address of dllimport functions isn't constant
The address of dllimport functions can be accessed one of two ways:
- Through the IAT which is symbolically referred to with a symbol
  starting with __imp_.
- Via the wrapper-function which ends up calling through the __imp_
  symbol.

The problem with using the wrapper-function is that it's address will
not compare as equal in all translation units.  Specifically, it will
compare unequally with the translation unit which defines the function.

This fixes PR19955.

llvm-svn: 211570
2014-06-24 06:40:51 +00:00
..
ARCMT [analyzer] Check for NULL passed to CFAutorelease. 2014-06-21 23:50:40 +00:00
ASTMerge
Analysis [analyzer] Check for NULL passed to CFAutorelease. 2014-06-21 23:50:40 +00:00
CXX Add missing "non-constant" diagnostic for a member call on a temporary of 2014-06-11 19:53:12 +00:00
CodeCompletion
CodeGen [PowerPC] Fix small argument stack slot offset for LE 2014-06-20 16:37:40 +00:00
CodeGenCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
CodeGenCXX AST: Address of dllimport functions isn't constant 2014-06-24 06:40:51 +00:00
CodeGenObjC Improve robustness of tests for module flags metadata 2014-06-19 16:10:21 +00:00
CodeGenObjCXX Improve robustness of tests for module flags metadata 2014-06-19 16:10:21 +00:00
CodeGenOpenCL Update for llvm api change. 2014-06-06 01:20:47 +00:00
Coverage Fix crash caused by unnamed union or struct when doing ast-print 2014-06-20 17:08:28 +00:00
Driver Driver: correct behaviour of -fmsc-version=MAJOR 2014-06-23 17:36:36 +00:00
FixIt [C++1z] Implement N4051: 'typename' is permitted instead of 'class' when declaring a template template parameter. 2014-06-16 15:51:22 +00:00
Format clang-format: Introduce style with spaces on both sides of */&. 2014-06-17 12:40:34 +00:00
Frontend Do not predefine __EXCEPTIONS in clang-cl (PR19977) 2014-06-10 20:46:38 +00:00
Headers Recommit r209532 with -ffreestanding. 2014-05-23 22:12:01 +00:00
Index [test] Add '-target' option to fix bot failure. 2014-06-21 18:28:44 +00:00
Integration Split out header integration tests 2014-05-04 13:00:32 +00:00
Layout
Lexer Make MS i128 suffix test from r211446 more robust 2014-06-21 23:32:05 +00:00
Misc Fix/Improve SourceRange of explicitly defaulted members 2014-06-20 08:44:22 +00:00
Modules Disable Modules/dependency-dump-dependent-module.m on win32 for now. 2014-06-20 15:04:25 +00:00
OpenMP [OPENMP] Added initial checking of nesting of OpenMP regions. 2014-06-24 04:39:47 +00:00
PCH Add loop unroll pragma support 2014-06-11 17:56:26 +00:00
Parser Fix PR20081: Parsing templates in the presence of -x cuda -std=c++11 2014-06-20 13:09:59 +00:00
Preprocessor Add -std=c++1z flag for C++17 features. 2014-06-16 15:16:56 +00:00
Profile InstrProf: Set profile data to visibility hidden 2014-05-16 01:24:00 +00:00
Rewriter Don't suppress warning about dllimport on typedefs etc. in MicrosoftExt mode 2014-05-23 20:16:41 +00:00
Sema The ability to use vector initializer lists is a GNU vector extension 2014-06-20 14:35:13 +00:00
SemaCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
SemaCXX AST: Address of dllimport functions isn't constant 2014-06-24 06:40:51 +00:00
SemaObjC Objective-C qoi. When Objective-C pointer mismatches with 2014-06-19 23:05:46 +00:00
SemaObjCXX Fix assertion hit or bogus compiler error in cases when instantiating ObjC property accesses used with overloaded binary operators. 2014-06-19 14:45:16 +00:00
SemaOpenCL [OpenCL] Reject reqd_work_group_size(X, Y, Z) where X, Y or Z == 0. 2014-05-19 14:41:38 +00:00
SemaTemplate Fix/Improve SourceRange of explicitly defaulted members 2014-06-20 08:44:22 +00:00
TableGen
Tooling PR19601: testcase improvement 2014-05-01 19:36:13 +00:00
Unit
VFS Stopgap fix for finding module for a file mapped in the VFS 2014-05-23 18:15:47 +00:00
.clang-format
CMakeLists.txt Don't add examples to the check-clang dependencies unless requested 2014-06-01 02:02:23 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg Add detection of OS X relocatable SDK to compiler-rt as a lit.util function 2014-06-10 14:22:00 +00:00
lit.site.cfg.in
make_test_dirs.pl