- Sep 12, 2012
-
-
Lang Hames authored
findLastUseBefore was previous considering virtreg liveness only, leading to incorrect live intervals for reg units when instrs with physreg operands were moved up. llvm-svn: 163685
-
Ted Kremenek authored
llvm-svn: 163684
-
Ted Kremenek authored
were not emitted. Fixes <rdar://problem/12280665>. llvm-svn: 163683
-
Craig Topper authored
llvm-svn: 163682
-
Ted Kremenek authored
for halting the propagation of uninitialized value tracking along a path. Unlike __attribute__((noreturn)), this attribute (which is used by clients of the static analyzer) can be used to annotate functions that essentially never return, but in rare cares may be allowed to return for (special) debugging purposes. This attribute has been shown in reducing false positives in the static analyzer by pruning false postives, and is equally applicable here. Handling this attribute in the CFG itself is another option, but this is not something all clients (e.g., possibly -Wunreachable-code) would want to see. Addresses <rdar://problem/12281583>. llvm-svn: 163681
-
Ted Kremenek authored
llvm-svn: 163680
-
Manman Ren authored
"#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)" No functional change. Update r163344. llvm-svn: 163679
-
Nadav Rotem authored
The input program may contain intructions which are not inside lifetime markers. This can happen due to a bug in the compiler or due to a bug in user code (for example, returning a reference to a local variable). This commit adds checks that all of the instructions in the function and invalidates lifetime ranges which do not contain all of the instructions. llvm-svn: 163678
-
rdar://problem/11374963Greg Clayton authored
Partial fix for the above radar where we now resolve dsym mach-o files within the dSYM bundle when using "add-dsym" through the platform. llvm-svn: 163676
-
Greg Clayton authored
llvm-svn: 163675
-
Chandler Carruth authored
'Inputs' subdirectory. The general desire has been to have essentially all of the non-test input files live in such directories, with some exceptions for obvious and common patterns like 'foo.c' using 'foo.h'. This came up because our distributed test runner couldn't find some of the headers, for example with stl.cpp. No functionality changed, just shuffling around here. llvm-svn: 163674
-
Chandler Carruth authored
llvm-svn: 163673
-
Richard Smith authored
parameter packs where the reference is not being expanded but the pack has been. Previously, Clang would segfault in such cases. llvm-svn: 163672
-
Greg Clayton authored
Added some documentation and an accessor for the target with an explanation of why to not use "lldb.target". llvm-svn: 163671
-
Jim Ingham authored
llvm-svn: 163670
-
Jim Ingham authored
llvm-svn: 163669
-
Eric Christopher authored
args where it should (implicit first arguments). FileCheck-ize a test as well and update tests to take into account the object pointer flag. rdar://9797999 llvm-svn: 163668
-
Eric Christopher authored
Part of rdar://9797999 llvm-svn: 163667
-
Chad Rosier authored
[ms-inline asm] isDef/NumDefs in this context only refer to register definitions, not memory definitions. llvm-svn: 163666
-
Chad Rosier authored
llvm-svn: 163665
-
Owen Anderson authored
Improve tblgen code cleanliness: create an unknown_class, from which the unknown def inherits. Make tblgen check for that class, rather than checking for the def itself. llvm-svn: 163664
-
Owen Anderson authored
Compute a map from register names to registers, rather than scanning the list of registers every time we want to look up a register by name. llvm-svn: 163659
-
Chad Rosier authored
llvm-svn: 163658
-
Chad Rosier authored
llvm-svn: 163657
-
DeLesley Hutchins authored
llvm-svn: 163656
-
Chad Rosier authored
llvm-svn: 163655
-
Chad Rosier authored
llvm-svn: 163654
-
Manman Ren authored
"#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)" No functional change. Update r163339. llvm-svn: 163653
-
- Sep 11, 2012
-
-
Sean Callanan authored
and deleted classes. llvm-svn: 163652
-
Sean Callanan authored
information from the Objective-C runtime. This patch takes the old AppleObjCSymbolVendor and replaces it with an AppleObjCTypeVendor, which is much more lightweight. Specifically, the SymbolVendor needs to pretend that there is a backing symbol file for the Types it vends, whereas a TypeVendor only vends bare ClangASTTypes. These ClangASTTypes only need to exist in an ASTContext. The ClangASTSource now falls back to the runtime's TypeVendor (if one exists) if the debug information doesn't find a complete type for a particular Objective-C interface. The runtime's TypeVendor maintains an ASTContext full of types it knows about, and re-uses the ISA-based type query information used by the ValueObjects. Currently, the runtime's TypeVendor doesn't provide useful answers because we haven't yet implemented a way to iterate across all ISAs contained in the target process's runtime. That's the next step. llvm-svn: 163651
-
Fariborz Jahanian authored
':' in its name. // rdar://8366823 llvm-svn: 163650
-
Chad Rosier authored
llvm-svn: 163649
-
Chad Rosier authored
llvm-svn: 163648
-
Jordan Rose authored
While PR13724 is still an issue, it's not actually an issue in the STL. We can keep this option around in case there turn out to be widespread false positives due to poor modeling of the C++ standard library functions, but for now we'd like to get more data. This reverts r163633 / c6baadceec1d5148c20ee6c902a102233c547f62. llvm-svn: 163647
-
Dmitri Gribenko authored
analysis registers a command, it becomes a "known" command for the lexer, since it has an ID. Having this freedom of choice to register a command is a good thing since BriefParser does not need this. But the parser should still invoke the correct semantic analysis method (actOnUnknownCommand) in this case. llvm-svn: 163646
-
Chad Rosier authored
Add support in the EmitMSInlineAsmStr() function for handling integer consts. llvm-svn: 163645
-
Jordan Rose authored
reinterpret_cast does not provide any of the usual type information that static_cast or dynamic_cast provide -- only the new type. This can get us in a situation where the dynamic type info for an object is actually a superclass of the static type, which does not match what CodeGen does at all. In these cases, just fall back to the static type as the best possible type for devirtualization. Should fix the crashes on our internal buildbot. llvm-svn: 163644
-
DeLesley Hutchins authored
llvm-svn: 163643
-
DeLesley Hutchins authored
on templates. llvm-svn: 163642
-
Filipe Cabecinhas authored
llvm-svn: 163641
-