- Jan 05, 2012
-
-
Nick Kledzik authored
llvm-svn: 147571
-
Anna Zaks authored
llvm-svn: 147570
-
Anna Zaks authored
as a result of a call. Problem: Global variables, which come in from system libraries should not be invalidated by all calls. Also, non-system globals should not be invalidated by system calls. Solution: The following solution to invalidation of globals seems flexible enough for taint (does not invalidate stdin) and should not lead to too many false positives. We split globals into 3 classes: * immutable - values are preserved by calls (unless the specific global is passed in as a parameter): A : Most system globals and const scalars * invalidated by functions defined in system headers: B: errno * invalidated by all other functions (note, these functions may in turn contain system calls): B: errno C: all other globals (which are not in A nor B) llvm-svn: 147569
-
Anna Zaks authored
llvm-svn: 147568
-
Ted Kremenek authored
llvm-svn: 147567
-
Ted Kremenek authored
llvm-svn: 147566
-
Eli Friedman authored
llvm-svn: 147565
-
Douglas Gregor authored
in the module map. This provides a bit more predictability for the user, as well as eliminating the need to sort the submodules when serializing them. llvm-svn: 147564
-
Fariborz Jahanian authored
llvm-svn: 147563
-
Fariborz Jahanian authored
properties in classes declared with objc_suppress_autosynthesis attribute, pinpoint location of the said class in a note. llvm-svn: 147562
-
Eli Friedman authored
Add an APValue representation for the difference between two address-of-label expressions. Add support to Evaluate and CGExprConstant for generating/handling them. Remove the special-case for such differences in Expr::isConstantInitializer. With that done, remove a bunch of buggy code from CGExprConstant for handling scalar expressions which is no longer necessary. Fixes PR11705. llvm-svn: 147561
-
Dan Gohman authored
Values, rather than just Instructions, since it's interesting for ConstantExprs too. llvm-svn: 147560
-
- Jan 04, 2012
-
-
rdar://problem/10507811Greg Clayton authored
Be better at detecting when DWARF changes and handle this more gracefully than asserting and exiting. Also fixed up a bunch of system calls that weren't properly checking for EINTR. llvm-svn: 147559
-
Chris Lattner authored
llvm-svn: 147558
-
rdar://10639962Chris Lattner authored
information even in subscripting operations. llvm-svn: 147557
-
Ted Kremenek authored
llvm-svn: 147556
-
Fariborz Jahanian authored
which is automatic with proper spelling :). llvm-svn: 147555
-
Marshall Clow authored
llvm-svn: 147554
-
Benjamin Kramer authored
llvm-svn: 147553
-
Daniel Dunbar authored
llvm-svn: 147552
-
Sean Callanan authored
resolves values in registers. llvm-svn: 147551
-
Benjamin Kramer authored
llvm-svn: 147550
-
Sean Callanan authored
breakpoints. llvm-svn: 147549
-
Douglas Gregor authored
any language variant), and restrict __has_feature(objc_modules) to mean that we also have the Objective-C @import syntax. I anticipate __has_feature(cxx_modules) and/or __has_feature(c_modules) for when we nail down the module syntax for C/C++. llvm-svn: 147548
-
Howard Hinnant authored
Just getting started on the personality routine. This is just a skeleton. Still learning how to fill it in... llvm-svn: 147547
-
Benjamin Kramer authored
llvm-svn: 147546
-
Eli Friedman authored
llvm-svn: 147545
-
Benjamin Kramer authored
Using DenseMap iterators isn't free as they have to check for empty buckets. Dominator queries are common so this gives a minor speedup. llvm-svn: 147544
-
Sebastian Pop authored
llvm-svn: 147543
-
Sebastian Pop authored
Get back getHostTriple. For JIT compilation, use the host triple instead of the default target: this fixes some JIT testcases that used to fail when the compiler has been configured as a cross compiler. llvm-svn: 147542
-
Akira Hatanaka authored
llvm-svn: 147541
-
Sean Callanan authored
to include -- in sample command lines. Now LLDB prints expression [-f <format>] -- <expr> instead of expression [-f <format>] <expr> and also adds a new example line: expression <expr> to show that in the absense of arguments the -- can be ommitted. llvm-svn: 147540
-
Sean Callanan authored
eFormatCString is specified, I have made DataExtractor::Dump properly escape the string. This prevents LLDB from printing characters that confuse terminals. llvm-svn: 147536
-
Douglas Gregor authored
llvm-svn: 147535
-
Douglas Gregor authored
different modules. This implementation is a first approximation of what we want, using only the function type to determine equivalence. Later, we'll want to deal with some of the more subtle issues, including: - C allows a prototyped declaration and a non-prototyped declaration to be merged, which we should support - We may want to ignore the return type when merging, then complain if the return types differ. Or, we may want to leave it as it us, so that we only complain if overload resolution eventually fails. - C++ non-static member functions need to consider cv-qualifiers and ref-qualifiers. - Function templates need to consider the template parameters and return type. - Function template specializations will have special rules. - We can now (accidentally!) end up overloading in C, even without the "overloadable" attribute, and will need to detect this at some point. The actual detection of "is this an overload?" is implemented by Sema::IsOverload(), which will need to be moved into the AST library for re-use here. That will be a future refactor. llvm-svn: 147534
-
Douglas Gregor authored
modules, so long as the typedefs refer to the same underlying type. This ensures that the typedefs end up in the same redeclaration chain. To test this, fix name lookup for C/Objective-C to properly deal with multiple declarations with the same name in the same scope. llvm-svn: 147533
-
Marshall Clow authored
llvm-svn: 147532
-
Benjamin Kramer authored
While the code took care of disabling the sse42 flag it didn't know about popcnt. This broke -march=native on penryn. llvm-svn: 147531
-
David Chisnall authored
llvm-svn: 147530
-
Nick Lewycky authored
llvm-svn: 147529
-