- Apr 21, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 155284
-
Nuno Lopes authored
llvm-svn: 155283
-
Nuno Lopes authored
llvm-svn: 155282
-
NAKAMURA Takumi authored
llvm-svn: 155281
-
Benjamin Kramer authored
No functionality change. llvm-svn: 155280
-
NAKAMURA Takumi authored
llvm-svn: 155279
-
NAKAMURA Takumi authored
clang/test/Rewriter/rewrite-modern-extern-c-func-decl.mm: Mark as XFAIL:mingw for now, due to predefined __declspec. It could be tweaked to add -triple i686-win32, though. llvm-svn: 155278
-
Matt Beaumont-Gay authored
llvm-svn: 155274
-
Jason Molenda authored
llvm-svn: 155272
-
Richard Smith authored
llvm-svn: 155271
-
Craig Topper authored
llvm-svn: 155270
-
Richard Smith authored
declaration of the same name. r155187 caused us to miss this if the prior declaration did not declare a type. llvm-svn: 155269
-
Matt Beaumont-Gay authored
Set the source location for the "member reference base type ... is not a structure or union" diag to point at the operator rather than the member name. If we're giving this diagnostic because of a typo'd '.' in place of a ';' at the end of a line, the caret previously pointed at the identifier on the following line, which isn't as helpful as it could be. Pointing the caret at the '.' makes it more obvious what the problem is. llvm-svn: 155267
-
Johnny Chen authored
llvm-svn: 155264
-
rdar://10976177Bob Wilson authored
The check for excluding libarclite on i386 MacOSX should not apply to Foundation. llvm-svn: 155263
-
Greg Clayton authored
Added code to automatically load the libheap.dylib when ptr_refs, cstr_refs or malloc_info are called. If MallocStackLogging is enabled, then you can now use --stack to dump the backtrace of the code that allocated each malloc block. llvm-svn: 155262
-
Johnny Chen authored
llvm-svn: 155260
-
Jim Grosbach authored
VMUL and VEXT. llvm-svn: 155258
-
Jakob Stoklund Olesen authored
The X86 target is editing the selection DAG while isel is selecting nodes following a topological ordering. When the DAG hacking triggers CSE, nodes can be deleted and bad things happen. llvm-svn: 155257
-
Greg Clayton authored
Fixed some issues with symbolicating things. Fixed symbolication.add_module() to not use the resolved_path before we have tried to locate it. Fixed crashlog.locate_module_and_debug_symbols() to return true and false correctly. llvm-svn: 155255
-
Jim Grosbach authored
llvm-svn: 155254
-
Bill Wendling authored
llvm-svn: 155253
-
Jakob Stoklund Olesen authored
Now that multiple DAGUpdateListeners can be active at the same time, ISelPosition can become a local variable in DoInstructionSelection. We simply register an ISelUpdater with CurDAG while ISelPosition exists. llvm-svn: 155249
-
Jakob Stoklund Olesen authored
Instead of passing listener pointers to RAUW, let SelectionDAG itself keep a linked list of interested listeners. This makes it possible to have multiple listeners active at once, like RAUWUpdateListener was already doing. It also makes it possible to register listeners up the call stack without controlling all RAUW calls below. DAGUpdateListener uses an RAII pattern to add itself to the SelectionDAG list of active listeners. llvm-svn: 155248
-
Eric Christopher authored
llvm-svn: 155247
-
Argyrios Kyrtzidis authored
Per Greg Clayton: libclang.dylib is trying to be smart and load itself at a valid address to be able to load faster which would work for 32 bit systems, bit won't make any difference on 64 bit systems. It should either pick a better 64 bit address, or just let itself be loaded at zero. rdar://11159142 llvm-svn: 155246
-
Fariborz Jahanian authored
objc_returns_inner_pointer attribute can be applied to methods only. Diagnsose otherwise, instead of crashing. // rdar://11253688 llvm-svn: 155245
-
- Apr 20, 2012
-
-
Anna Zaks authored
This is needed to ensure that we always report issues in the correct function. For example, leaks are identified when we call remove dead bindings. In order to make sure we report a callee's leak in the callee, we have to run the operation in the callee's context. This change required quite a bit of infrastructure work since: - We used to only run remove dead bindings before a given statement; here we need to run it after the last statement in the function. For this, we added additional Program Point and special mode in the SymbolReaper to remove all symbols in context lower than the current one. - The call exit operation turned into a sequence of nodes, which are now guarded by CallExitBegin and CallExitEnd nodes for clarity and convenience. (Sorry for the long diff.) llvm-svn: 155244
-
Anna Zaks authored
llvm-svn: 155243
-
Anna Zaks authored
llvm-svn: 155242
-
Bill Wendling authored
process any more Values. llvm-svn: 155241
-
Jakob Stoklund Olesen authored
The <undef> flag on a def operand only applies to partial register redefinitions. Only print the flag when relevant, and print it as <def,read-undef> to make it clearer what it means. llvm-svn: 155239
-
Jim Ingham authored
Make sure the "synchronous breakpoint callbacks" get called before the thread plan logic gets invoked, and if they ask to continue that should short-circuit the thread plans for that thread. Also add a bit more explanation for how this machinery is supposed to work. Also pass eExecutionPolicyOnlyWhenNeeded, not eExecutionPolicyAlways when evaluating the expression for breakpoint conditions. llvm-svn: 155236
-
Andrew Trick authored
llvm-svn: 155235
-
Andrew Trick authored
llvm-svn: 155234
-
Greg Clayton authored
Added logging so we can see when we are trying to complete a forward type and pull in the world. This is due to a compiler bug we are tracking (<rdar://problem/11291658>) where forward decls to classes and types are not properly scoped in namespaces, which results in the current LLDB looking for a type it will find many times in the accelerator tables, but never match. For example, when debugging with clang we get a forward decl like: class AnalysisResolver; And we will look for it everywhere and find many many matches, but the decl context of those matching DIEs is "clang::AnalysisResolver", so we never match anything, yet we pull in waaayyy too much DWARF in the process. To enable this logging enable the "lookups" category in the "dwarf" log channel: (lldb) log enable dwarf lookups llvm-svn: 155233
-
Richard Smith authored
llvm-svn: 155232
-
Bill Wendling authored
llvm-svn: 155230
-
Andrew Trick authored
llvm-svn: 155229
-
Andrew Trick authored
This nicely handles the most common case of virtual register sets, but also handles anticipated cases where we will map pointers to IDs. The goal is not to develop a completely generic SparseSet template. Instead we want to handle the expected uses within llvm without any template antics in the client code. I'm adding a bit of template nastiness here, and some assumption about expected usage in order to make the client code very clean. The expected common uses cases I'm designing for: - integer keys that need to be reindexed, and may map to additional data - densely numbered objects where we want pointer keys because no number->object map exists. llvm-svn: 155227
-