- Sep 13, 2010
-
-
Jakob Stoklund Olesen authored
pointer and work around that. llvm-svn: 113788
-
Devang Patel authored
llvm-svn: 113787
-
Dale Johannesen authored
v8i16 is not an MMX type; put it where it belongs. llvm-svn: 113785
-
Sebastian Redl authored
Have __has_nothrow_copy use Sema's lookup routines. This fixes the problem with not finding implicitly declared copy constructors, part of PR8107. llvm-svn: 113784
-
Dale Johannesen authored
llvm-svn: 113783
-
Sebastian Redl authored
Eagerly evaluate type traits in Sema instead of lazily in AST. They actually need Sema access to be correct, fixes coming up. llvm-svn: 113782
-
Johnny Chen authored
the binaries. If the build* function is passed the compiler argument, for example, 'llvm-gcc', it is passed as a make variable to the make command. Otherwise, we check the LLDB_CC environment variable; if it is defined, it is passed as a make variable to the make command. If neither the compiler keyword argument nor the LLDB_CC environment variable is specified, no CC make variable is passed to the make command. The Makefile gets to define the default CC being used. -------------------------------------------------------------------------------- Example usage follows: o Via the keyword argument: class ArrayTypesTestCase(TestBase): mydir = "array_types" @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") def test_with_dsym_and_run_command(self): """Test 'frame variable var_name' on some variables with array types.""" self.buildDsym(compiler='llvm-gcc') self.array_types() ... o Via LLDB_CC environment variable: $ LLDB_CC=llvm-gcc ./dotest.py -v -t array_types ---------------------------------------------------------------------- Collected 4 tests test_with_dsym_and_python_api (TestArrayTypes.ArrayTypesTestCase) Use Python APIs to inspect variables with array types. ... os command: [['/bin/sh', '-c', 'make clean; make MAKE_DSYM=YES CC=llvm-gcc']] output: rm -rf "a.out" "a.out.dSYM" main.o main.d llvm-gcc -arch x86_64 -gdwarf-2 -O0 -arch x86_64 -gdwarf-2 -O0 -c -o main.o main.c llvm-gcc -arch x86_64 -gdwarf-2 -O0 main.o -o "a.out" /usr/bin/dsymutil -o "a.out.dSYM" "a.out" ... llvm-svn: 113781
-
Devang Patel authored
Handle %test_debuginfo on a RUN command line. This set up now allows one to write small test cases to check debug info. e.g. ; RUN: %clang -O0 -g %s -c -o %t.o ; RUN: %clang %t.o -o %t.out ; RUN: %test_debuginfo %s %t.out define i32 @f1(i32 %i) nounwind ssp { ; DEBUGGER: break f1 ; DEBUGGER: r ; DEBUGGER: p i ; CHECK: $1 = 42 entry: %i.addr = alloca i32, align 4 ... ... } It is also possible now to write test cases in c/c++. The plan is to store these debug info testcases in a separate place. llvm-svn: 113780
-
Devang Patel authored
llvm-svn: 113779
-
Argyrios Kyrtzidis authored
When applying 'delete' on a pointer-to-array type match GCC and EDG behavior and treat it as 'delete[]'. Also offer a fix-it hint adding '[]'. llvm-svn: 113778
-
Argyrios Kyrtzidis authored
llvm-svn: 113777
-
Benjamin Kramer authored
llvm-svn: 113776
-
Owen Anderson authored
llvm-svn: 113773
-
Owen Anderson authored
llvm-svn: 113772
-
Eric Christopher authored
llvm-svn: 113771
-
Owen Anderson authored
llvm-svn: 113770
-
Eric Christopher authored
llvm-svn: 113769
-
Jim Grosbach authored
llvm-svn: 113768
-
Eric Christopher authored
llvm-svn: 113767
-
John Thompson authored
llvm-svn: 113766
-
Dan Gohman authored
llvm-svn: 113765
-
Dan Gohman authored
llvm-svn: 113764
-
Owen Anderson authored
to expose greater opportunities for store narrowing in codegen. This patch fixes a potential infinite loop in instcombine caused by one of the introduced transforms being overly aggressive. llvm-svn: 113763
-
Michael J. Spencer authored
llvm-svn: 113762
-
Argyrios Kyrtzidis authored
Add a compatibility note about clang not implicitly converting between objc_object* and id (and SEL, Class). llvm-svn: 113761
-
Argyrios Kyrtzidis authored
llvm-svn: 113760
-
Rafael Espindola authored
For example, setting STT_OBJECT (1) and STT_FUNC (2), should not produce a STT_SECTION (3). llvm-svn: 113759
-
Bob Wilson authored
llvm-svn: 113758
-
Bob Wilson authored
llvm-svn: 113757
-
Johnny Chen authored
llvm-svn: 113756
-
Johnny Chen authored
llvm-svn: 113755
-
Douglas Gregor authored
llvm-svn: 113754
-
Johnny Chen authored
llvm-svn: 113753
-
Johnny Chen authored
llvm-svn: 113751
-
Johnny Chen authored
llvm-svn: 113750
-
Fariborz Jahanian authored
their 'isa' field scanned regardless. llvm-svn: 113749
-
Johnny Chen authored
llvm-svn: 113748
-
Duncan Sands authored
llvm-svn: 113747
-
Duncan Sands authored
llvm-svn: 113746
-
Argyrios Kyrtzidis authored
The canonical FunctionTemplateDecl contains the specializations but we cannot use getCanonicalDecl on Template because it may still be initializing. Write and read it from PCH. Fixes http://llvm.org/PR8134 llvm-svn: 113744
-