- Mar 16, 2011
-
-
Caroline Tice authored
Add code to emulate STRH (Register) Arm instruction. Remove inaccurate comments from EmulateInstruction::Context definition. Fix contexts in a few arm instruction emulation routines. llvm-svn: 127770
-
Joerg Sonnenberger authored
llvm-svn: 127769
-
Eli Friedman authored
llvm-svn: 127768
-
-
Cameron Zwarich authored
rather than an int. Thankfully, this only causes LLVM to miss optimizations, not generate incorrect code. This just fixes the zext at the return. We still insert an i32 ZextAssert when reading a function's arguments, but it is followed by a truncate and another i8 ZextAssert so it is not optimized. llvm-svn: 127766
-
Cameron Zwarich authored
llvm-svn: 127765
-
Cameron Zwarich authored
llvm-svn: 127764
-
Daniel Dunbar authored
plus the test where it used to break.", which broke Clang self-host of a Debug+Asserts compiler, on OS X. llvm-svn: 127763
-
Richard Osborne authored
llvm-svn: 127761
-
Ted Kremenek authored
llvm-svn: 127758
-
Renato Golin authored
llvm-svn: 127757
-
Abramo Bagnara authored
llvm-svn: 127755
-
Cameron Zwarich authored
conforms to the ABI, but DAGCombine could in theory recognize the sequence of zext asserts and truncates and generate incorrect code. llvm-svn: 127754
-
Joerg Sonnenberger authored
the program name, if it includes it as proper prefix. This makes calling clang with -ccc-host-triple x86_64-linux the same as calling it with the name x86_64-linux-clang. llvm-svn: 127753
-
Douglas Gregor authored
dependent scope and produce an error (rather than crashing). Fixes PR8979. llvm-svn: 127749
-
Argyrios Kyrtzidis authored
Having FileManager::getFile always open the file, brought much consternation and leaking of file descriptors. Add 'openFile' bool to FileManager::getFile to specify whether we want to have the file opened or not, have it false by default, and enable it only in HeaderSearch.cpp where the open+fstat optimization matters. Fixes rdar://9139899. llvm-svn: 127748
-
Douglas Gregor authored
overload, so that we actually do the resolution for full expressions and emit more consistent, useful diagnostics. Also fixes an IRGen crasher, where Sema wouldn't diagnose a resolvable bound member function template-id used in a full-expression (<rdar://problem/9108698>). llvm-svn: 127747
-
Sandeep Patel authored
llvm-svn: 127746
-
Peter Collingbourne authored
llvm-svn: 127744
-
Peter Collingbourne authored
llvm-svn: 127743
-
Chandler Carruth authored
clients to observe the exact path through which an #included file was located. This is very useful when trying to record and replay inclusion operations without it beind influenced by the aggressive caching done inside the FileManager to avoid redundant system calls and filesystem operations. The work to compute and return this is only done in the presence of callbacks, so it should have no effect on normal compilation. Patch by Manuel Klimek. llvm-svn: 127742
-
Richard Osborne authored
can event. llvm-svn: 127741
-
Douglas Gregor authored
operands to a binary expression; it doesn't make sense in all contexts. The right answer would be to see if the user forgot at (). Fixes <rdar://problem/9136502>. llvm-svn: 127740
-
Douglas Gregor authored
pointer-to-function type. Fixes <rdar://problem/9065289>. llvm-svn: 127739
-
Douglas Gregor authored
ActOnFinishFunctionBody/ActOnBlockStmtExpr. This way, we ensure that we diagnose undefined labels before the jump-scope checker gets run, since the jump-scope checker requires (as its invariant) that all of the GotoStmts be wired up correctly. Fixes PR9495. llvm-svn: 127738
-
Douglas Gregor authored
forward-looking "goto" statement, make sure to insert it *after* the last declaration in the identifier resolver's declaration chain that is either outside of the function/block/method's scope or that is declared in that function/block/method's specific scope. Previously, we could end up inserting the label ahead of declarations in inner scopes, confusing C++ name lookup. Fixes PR9491/<rdar://problem/9140426> and <rdar://problem/9135994>. Note that the crash-on-invalid PR9495 is *not* fixed. That's a separate issue. llvm-svn: 127737
-
David Chisnall authored
llvm-svn: 127736
-
Abramo Bagnara authored
llvm-svn: 127735
-
NAKAMURA Takumi authored
llvm-svn: 127734
-
NAKAMURA Takumi authored
llvm-svn: 127733
-
NAKAMURA Takumi authored
test/CodeGen/X86: FileCheck-ize and add explicit -mtriple=x86_64-linux. They are useless to Win64 target. llvm-svn: 127732
-
NAKAMURA Takumi authored
llvm-svn: 127731
-
NAKAMURA Takumi authored
llvm-svn: 127730
-
NAKAMURA Takumi authored
- Driver's name may be "clang(-\d.\d).exe". - Emitted executable file is named as "%t.exe". It must be harmless on other OS. llvm-svn: 127729
-
Cameron Zwarich authored
llvm-svn: 127728
-
Ted Kremenek authored
Teach CFGBuilder that the 'default' branch of a switch statement is dead if all enum values in a switch conditioned are handled. llvm-svn: 127727
-
NAKAMURA Takumi authored
report_fatal_error() invokes exit(). We know report_fatal_error() might not write messages to stderr when any errors were detected on FD == 2. llvm-svn: 127726
-
John McCall authored
in non-GC mode. llvm-svn: 127725
-
NAKAMURA Takumi authored
FIXME: It is a temporal hack. We should detect as many "special file name" as possible. llvm-svn: 127724
-
NAKAMURA Takumi authored
FIXME: We should use sys::fs::unique_file() in future. llvm-svn: 127723
-