hanchenye-llvm-project/clang/test
Daniel Dunbar 6f8362c6bf Frontend: Add CodeGenAction support for handling LLVM IR.
- This magically enables using 'clang -cc1' as a replacement for most of 'llvm-as', 'llvm-dis', 'llc' and 'opt' functionality.

For example, 'llvm-as' is:
  $ clang -cc1 -emit-llvm-bc FOO.ll -o FOO.bc
and 'llvm-dis' is:
  $ clang -cc1 -emit-llvm    FOO.bc -o -
and 'opt' is, e.g.:
  $ clang -cc1 -emit-llvm -O3 -o FOO.opt.ll FOO.ll
and 'llc' is, e.g.:
  $ clang -cc1 -S -o - FOO.ll

The nice thing about using the backend tools this way is that they are guaranteed to exactly match how the compiler generates code (for example, setting the same backend options).

llvm-svn: 105583
2010-06-07 23:27:59 +00:00
..
ASTMerge Hack in some really terrible C++ record PCH support that I need right now. 2010-06-03 19:28:45 +00:00
Analysis Catch free()s on non-regions and regions known to be not from malloc(), by checking the symbol type and memory space. 2010-06-07 19:32:37 +00:00
CXX PR7245: Make binding a reference to a temporary without a usable copy 2010-06-07 15:58:05 +00:00
CodeCompletion Make -code-completion-patterns only cover multi-line code 2010-05-28 00:22:41 +00:00
CodeGen Correctly align large arrays in x86-64. This fixes PR5599. 2010-06-04 23:15:27 +00:00
CodeGenCXX Correctly align large arrays in x86-64. This fixes PR5599. 2010-06-04 23:15:27 +00:00
CodeGenObjC When using property-dot assignment syntax to call a setter method, 2010-06-07 22:02:01 +00:00
CodeGenObjCXX Objective-c++ IR gen. 2010-05-27 16:05:06 +00:00
Coverage "this patch properly addresses escaping < and > which might appear 2010-05-12 23:27:11 +00:00
Driver Driver: Change -dwarf-debug-flags option to pass the original command line 2010-06-04 18:47:06 +00:00
FixIt Tweak test for non-64-bit Darwin 2010-05-31 14:58:57 +00:00
Frontend Frontend: Add CodeGenAction support for handling LLVM IR. 2010-06-07 23:27:59 +00:00
Headers Make sure we don't include mm_malloc.h in this test, it includes errno.h which 2010-03-26 20:17:23 +00:00
Index Add indexing support for the block and @property type location information 2010-06-04 22:33:30 +00:00
Lexer Daniel re-educated me about what Alias does and does not do. Turn that off for 2010-05-22 02:21:53 +00:00
Misc Testcase for r103712. 2010-05-13 12:04:17 +00:00
PCH pch'ify CXXNewExpr and CXXZeroInitValueExpr 2010-05-10 01:22:27 +00:00
Parser Don't try to parse class template specializations in C. It can only 2010-05-30 22:30:21 +00:00
Preprocessor Add several more predefines from modern versions of GCC. 2010-05-28 00:27:15 +00:00
Rewriter Patch to rewrite block pointers as arguments to 2010-05-25 15:56:08 +00:00
Sema Correctly align large arrays in x86-64. This fixes PR5599. 2010-06-04 23:15:27 +00:00
SemaCXX When deciding whether reinterpret_cast casts away constness we need to look at array qualifiers. Fixes rdar://problem/8018292. 2010-06-04 22:47:55 +00:00
SemaObjC Clang missing warning about conflicting declaration vs. definition 2010-05-21 23:28:58 +00:00
SemaObjCXX Implement support for variable length arrays in C++. VLAs are limited 2010-05-22 16:17:30 +00:00
SemaTemplate When we've parsed a nested-name-specifier in a member access 2010-05-27 15:25:59 +00:00
CMakeLists.txt Add test cases for r98003 and r98006. 2010-03-08 23:38:27 +00:00
Makefile sigh 2010-05-15 16:56:34 +00:00
TestRunner.sh Switch TestRunner.sh to just use 'lit'. 2009-09-20 22:00:23 +00:00
cxx-sections.data Update C++ section data and directory structure to reflect N2914 2009-06-30 16:45:27 +00:00
lit.cfg tests: Mangle '-vg' onto the end of the triple when running under valgrind, so 2010-03-20 21:13:08 +00:00
lit.site.cfg.in Rework site config for cmake to be generated at configure time, and only pass 2009-11-07 23:53:32 +00:00
make_test_dirs.pl