- Feb 24, 2012
-
-
Hal Finkel authored
This is necessary to support the existing ppc lowering code for indirect calls. Fixes PR12071. llvm-svn: 151373
-
Douglas Gregor authored
- Make sure that the block expression is instantiation-dependent if the block is in a dependent context - Make sure that the C++ 'this' expression gets captured even if we don't rebuild the AST node during template instantiation. This would also have manifested as a bug for lambdas. Fixes <rdar://problem/10832617>. llvm-svn: 151372
-
Fariborz Jahanian authored
llvm-svn: 151371
-
Jim Ingham authored
llvm-svn: 151370
-
Anna Zaks authored
This ensures that we report the bugs associated with symbols going out of scope in the correct function context. llvm-svn: 151369
-
Anna Zaks authored
visiting 'return;' statement! This most likely caused us to skip a bunch of code when analyzing with inlining. llvm-svn: 151368
-
Rafael Espindola authored
the default for clang for some time now and can handle compiler-rt. llvm-svn: 151367
-
Timur Iskhodzhanov authored
llvm-svn: 151366
-
Duncan Sands authored
llvm-svn: 151365
-
Benjamin Kramer authored
llvm-svn: 151364
-
Kristof Beyls authored
llvm-svn: 151363
-
NAKAMURA Takumi authored
-mcpu does not choose arch automatically, on non-x86 hosts. llvm-svn: 151362
-
Richard Osborne authored
Patch by Ahmed Charles llvm-svn: 151360
-
Nick Lewycky authored
llvm-svn: 151359
-
Duncan Sands authored
of the StringRef.Split2 unittest on 32 bit machines. llvm-svn: 151358
-
Nick Lewycky authored
uninitialized. While there, restyle this function! No functionality change. llvm-svn: 151357
-
Matt Beaumont-Gay authored
llvm-svn: 151356
-
Nick Lewycky authored
llvm-svn: 151355
-
Douglas Gregor authored
hasTrivialMoveConstructor(). llvm-svn: 151354
-
Douglas Gregor authored
llvm-svn: 151353
-
Douglas Gregor authored
that provides the behavior of the C++11 library trait std::is_trivially_constructible<T, Args...>, which can't be implemented purely as a library. Since __is_trivially_constructible can have zero or more arguments, I needed to add Yet Another Type Trait Expression Class, this one handling arbitrary arguments. The next step will be to migrate UnaryTypeTrait and BinaryTypeTrait over to this new, more general TypeTrait class. Fixes the Clang side of <rdar://problem/10895483> / PR12038. llvm-svn: 151352
-
Ted Kremenek authored
Make PathDiagnosticBuilder sensitive to varying LocationContexts, thus fixing a bug in the inlining diagnostics where the wrong location could be used. llvm-svn: 151349
-
Andrew Trick authored
llvm-svn: 151348
-
Ted Kremenek authored
llvm-svn: 151347
-
Ted Kremenek authored
Reapply r151317, but when computing the PathDiagnostic profile and size keep into account the nested structure. Also fix a problem with how inlining impacted Plist diagnostics, and adjust some ranges in the Plist output due to richer information. llvm-svn: 151346
-
Jim Grosbach authored
Add support for a missed case when the symbols in a difference expression are in the same section but not the same fragment. rdar://10924681 llvm-svn: 151345
-
Greg Clayton authored
will fill out either a SBLaunchInfo or SBAttachInfo class, then call: SBProcess SBTarget::Launch (SBLaunchInfo &, SBError &); SBProcess SBTarget::Attach (SBAttachInfo &, SBError &); The attach is working right now and allows the ability to set many filters such as the parent process ID, the user/group ID, the effective user/group ID, and much more. The launch is not yet working, but I will get this working soon. By changing our launch and attach calls to take an object, it allows us to add more capabilities to launching and attaching without having to have launch and attach functions that take more and more arguments. Once this is all working we will deprecated the older launch and attach fucntions and eventually remove them. llvm-svn: 151344
-
David Blaikie authored
llvm-svn: 151343
-
Pete Cooper authored
Turn avx insert intrinsic calls into INSERT_SUBVECTOR DAG nodes and remove duplicate patterns for selecting the intrinsics llvm-svn: 151342
-
Jia Liu authored
llvm-svn: 151341
-
Jia Liu authored
llvm-svn: 151340
-
Jia Liu authored
llvm-svn: 151339
-
Chad Rosier authored
llvm-svn: 151338
-
Jia Liu authored
llvm-svn: 151337
-
rdar://problem/10103468Greg Clayton authored
I started work on being able to add symbol files after a debug session had started with a new "target symfile add" command and quickly ran into problems with stale Address objects in breakpoint locations that had lldb_private::Section pointers into modules that had been removed or replaced. This also let to grabbing stale modules from those sections. So I needed to thread harded the Address, Section and related objects. To do this I modified the ModuleChild class to now require a ModuleSP on initialization so that a weak reference can created. I also changed all places that were handing out "Section *" to have them hand out SectionSP. All ObjectFile, SymbolFile and SymbolVendors were inheriting from ModuleChild so all of the find plug-in, static creation function and constructors now require ModuleSP references instead of Module *. Address objects now have weak references to their sections which can safely go stale when a module gets destructed. This checkin doesn't complete the "target symfile add" command, but it does get us a lot clioser to being able to do such things without a high risk of crashing or memory corruption. llvm-svn: 151336
-
Eric Christopher authored
variable declaration as an argument because we want that address anyhow for our debug information. This seems to fix rdar://9965111, at least we have more debug information than before and from reading the assembly it appears to be the correct location. llvm-svn: 151335
-
Eric Christopher authored
llvm-svn: 151334
-
Johnny Chen authored
of the DSCR to check whether it was because of watchpoint occurred. llvm-svn: 151333
-
Jia Liu authored
llvm-svn: 151332
-
Jakob Stoklund Olesen authored
I'll let the buildbots determine the compile time improvements from this change, but 464.h264ref has 5% faster codegen at -O2. This patch does cause some assembly changes. Branch folding can make different decisions about calls with dead return values. CriticalAntiDepBreaker may choose different registers because its liveness tracking is affected. MachineCopyPropagation may sometimes leave a dead copy behind. llvm-svn: 151331
-