- Mar 14, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152692
-
Eric Christopher authored
args. Fixes rdar://11042577 llvm-svn: 152691
-
Jason Molenda authored
llvm-svn: 152689
-
Benjamin Kramer authored
llvm-svn: 152688
-
Jason Molenda authored
llvm-svn: 152687
-
Chad Rosier authored
llvm-svn: 152686
-
Fariborz Jahanian authored
field. // rdar://11040024 llvm-svn: 152685
-
Chad Rosier authored
rdar://10963572 llvm-svn: 152684
-
Eric Christopher authored
function templates as well. A future commit will mangle the added name with the template args like classes are mangled. Fixes rdar://10986010 llvm-svn: 152683
-
David Blaikie authored
"struct{template struct{" would fail an assertion. This assertion failure seems to have gone away somewhere along the line so here's a test to make sure we don't regress. We still accept some very weird explicit template 'instantiations' ("template int;", anyone) but at least we're not asserting/crashing here. llvm-svn: 152681
-
Jason Molenda authored
Also add a copy files phase for -target ios that installs the debugserver launch plists. llvm-svn: 152680
-
rdar://problem/11034170Greg Clayton authored
Simplify the locking strategy for Module and its owned objects to always use the Module's mutex to avoid A/B deadlocks. We had a case where a symbol vendor was locking itself and then calling a function that would try to get it's Module's mutex and at the same time another thread had the Module mutex that was trying to get the SymbolVendor mutex. Now any classes that inherit from ModuleChild should use the module lock using code like: void ModuleChildSubclass::Function { ModuleSP module_sp(GetModule()); if (module_sp) { lldb_private::Mutex::Locker locker(module_sp->GetMutex()); ... do work here... } } This will help avoid deadlocks by using as few locks as possible for a module and all its child objects and also enforce detecting if a module has gone away (the ModuleSP will be returned empty if the weak_ptr does refer to a valid object anymore). llvm-svn: 152679
-
- Mar 13, 2012
-
-
Evan Cheng authored
Fortify r152675 a bit. Although I'm not able to come up with a test case that would trigger the truncation case. llvm-svn: 152678
-
Anna Zaks authored
llvm-svn: 152677
-
Anna Zaks authored
respectively. llvm-svn: 152676
-
Evan Cheng authored
(i16 load $addr+c*sizeof(i16)) and replace uses of (i32 vextract) with the i16 load. It should issue an extload instead: (i32 extload $addr+c*sizeof(i16)). rdar://11035895 llvm-svn: 152675
-
Nick Kledzik authored
llvm-svn: 152674
-
Enrico Granata authored
The Cocoa formatters now provide error messages for many of the common things-went-wrong situations. Previously they would say nothing or log failures to the Python console llvm-svn: 152673
-
Jason Molenda authored
v. http://sourceware.org/gdb/current/onlinedocs/gdb/Packets.html#Packets the detach packet is supposed to send a reply. llvm-svn: 152671
-
Johnny Chen authored
For EmulateInstructionARM::EmulatePUSH(), fix the logical branch for when pc is pushed to behave like the other cases where: context.SetRegisterToRegisterPlusOffset (reg_info, sp_reg, addr - sp); is called to inform of the operation to set a register value to a memory location calculated from a base register plus an offset. llvm-svn: 152670
-
Daniel Dunbar authored
- This is much more important than it appears at first glance... The intended design of DiagnosticBuilder was that it never escape and that all its members would get lowered to registers by the compiler. By fixing Emit here, the compiler can completely eliminate the DiagnosticBuilder object and never need to push those registers back into it. Unfortunately, Sema has broken DiagnosticBuilder in other ways (by introducing SemaDiagnosticBuilder), so we don't get the fill impact of this, but it is still good for 30k reduction in code size. I'll work on fixing the SemaDiagnosticBuilder problems next. llvm-svn: 152669
-
Pete Cooper authored
Target override to allow CodeGenPrepare to sink address operands to intrinsics in the same way it current does for loads and stores llvm-svn: 152666
-
Richard Smith authored
constant expressions. llvm-svn: 152665
-
Chad Rosier authored
llvm-svn: 152664
-
Argyrios Kyrtzidis authored
if the passed in FileSize is inaccurate. rdar://11034179 llvm-svn: 152662
-
Chad Rosier authored
Previously, only diagnostics thrown by the cc1 process were actually honoring the diagnostic options given on the command line, like -Werror. Reuse the existing code in Frontend currently used for cc1, adjusting it to not interpret -Wl, linker flags as warnings. Also fix a faulty test exposed by this change. It wasn't actually testing anything, and was giving this warning: clang-3: warning: argument unused during compilation: '-verify' Which -Werror didn't turn into an error because it was output by the driver, not the cc1 process, and diagnostic options weren't parsed by the driver. And you couldn't see the warning when running the test suite. Fixes PR12181. Patch by Dylan Noblesmith <nobled@dreamwidth.org>. llvm-svn: 152660
-
Benjamin Kramer authored
llvm-svn: 152659
-
Bill Wendling authored
No functionality change. llvm-svn: 152658
-
Kevin Enderby authored
instruction's destination operand like it does for the source operand. Also fix a typo in the comment for X86AsmParser::isSrcOp(). llvm-svn: 152654
-
Anna Zaks authored
inlining to be the reverse of their declaration. This optimizes running time under inlining up to 20% since we do not re-analyze the utility functions which are usually defined first in the translation unit if they have already been analyzed while inlined into the root functions. llvm-svn: 152653
-
Anna Zaks authored
BFS should give slightly better performance. Ex: Suppose, we have two roots R1 and R2. A callee function C is reachable through both. However, C is not inlined when analyzing R1 due to inline stack depth limit. With DFS, C will be analyzed as top level even though it would be analyzed as inlined through R2. On the other hand, BFS could avoid analyzing C as top level. llvm-svn: 152652
-
Anna Zaks authored
collecting function Decls. llvm-svn: 152651
-
Anna Zaks authored
AnalysisConsumer. As a result: - We now analyze the C++ methods which are defined within the class body. These were completely skipped before. - Ensure that AST checkers are called on functions in the order they are defined in the Translation unit. llvm-svn: 152650
-
Anna Zaks authored
function. llvm-svn: 152649
-
Anna Zaks authored
llvm-svn: 152648
-
Roman Divacky authored
powerpc_types and add testing for the (long) double there. llvm-svn: 152647
-
Daniel Dunbar authored
llvm-svn: 152644
-
Daniel Dunbar authored
llvm-svn: 152643
-
Daniel Dunbar authored
not used anymore (good thing we are still paying for it!). llvm-svn: 152642
-
Daniel Dunbar authored
llvm-svn: 152641
-