summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change the default for PlatformDarwinKernel to be enabled a laJason Molenda2013-04-121-1/+1
| | | | | | settings set platform.plugin.darwin-kernel.search-locally-for-kexts true llvm-svn: 179348
* Make sure we have the include paths we needDouglas Gregor2013-04-121-3/+3
| | | | llvm-svn: 179347
* <rdar://problem/13615607> Include SDK version information in the module hash.Douglas Gregor2013-04-122-0/+49
| | | | | | | | | This is a Darwin-SDK-specific hash criteria used to identify a particular SDK without having to hash the contents of all of its headers. If other platforms have such versioned files, we should add those checks here. llvm-svn: 179346
* Add 179294 back, but don't use bit fields so that it works on big endian hosts.Rafael Espindola2013-04-125-90/+151
| | | | | | | | | | | | | | Original message: Print more information about relocations. With this patch llvm-readobj now prints if a relocation is pcrel, its length, if it is extern and if it is scattered. It also refactors the code a bit to use bit fields instead of shifts and masks all over the place. llvm-svn: 179345
* Add test case for r179343.Chad Rosier2013-04-111-0/+22
| | | | llvm-svn: 179344
* [ms-inline asm] Add support for using the LENGTH, TYPE, and SIZE operators withChad Rosier2013-04-111-2/+11
| | | | | | | | variables that use namespace alias qualifiers. Test case coming on clang side shortly. Part of rdar://13499009 llvm-svn: 179343
* New test suite option (-T)Enrico Granata2013-04-111-1/+10
| | | | | | | When -T is specified, the test suite will call svn info and dump the output on screen (this used to be the default behavior) When -T is not specified, this step won't be performed (the new default) llvm-svn: 179342
* When specifying a relative path for the --framework option to dotest.py, ↵Enrico Granata2013-04-111-0/+2
| | | | | | | | Python would end up being confused and unable to locate the embedded_interpreter module, causing every testcase that uses the Script Interpreter (e.g. functionalities/data-formatter/data-formatter-stl/libstdcpp) to fail without even trying This checkin fixes that problem by absolutizing the path before pushing it to the sys.path llvm-svn: 179341
* Test case for r179339.Chad Rosier2013-04-111-0/+10
| | | | llvm-svn: 179340
* [ms-inline asm] Add support for using offsetof operator with variables that useChad Rosier2013-04-111-3/+6
| | | | | | | namespace alias qualifiers. Test case coming on clang side shortly. Part of rdar://13499009 llvm-svn: 179339
* Flail at trying to appease various linuxy buildbots.John McCall2013-04-111-1/+1
| | | | llvm-svn: 179338
* Aliasing rules for struct-path aware TBAA.Manman Ren2013-04-112-0/+528
| | | | | | | Added PathAliases to check if two struct-path tags can alias. Added command line option -struct-path-tbaa. llvm-svn: 179337
* [ms-inline asm] Pass a StringRef reference to ParseIntelVarWithQualifier so weChad Rosier2013-04-111-15/+15
| | | | | | | | can build up the identifier string. No test case as support for looking up these type of identifiers hasn't been implemented on the clang side. Part of rdar://13499009 llvm-svn: 179336
* Struct-path aware TBAA: uniformize scalar tag and path tag.Manman Ren2013-04-116-69/+107
| | | | | | | | | | | | For struct-path aware TBAA, we used to use scalar type node as the scalar tag, which has an incompatible format with the struct path tag. We now use the same format: base type, access type and offset. We also uniformize the scalar type node and the struct type node: name, a list of pairs (offset + pointer to MDNode). For scalar type, we have a single pair. These are to make implementaiton of aliasing rules easier. llvm-svn: 179335
* Fix the driver logic for recent versions of DragonFly.John McCall2013-04-114-42/+76
| | | | | | Patch by John Marino. llvm-svn: 179334
* <rdar://problem/13558484>Enrico Granata2013-04-111-1/+5
| | | | | | This makes the dynamic values test case work for both libc++ and libstdcpp llvm-svn: 179333
* Save away the locations at the site we hit and iterate over that collection. ↵Jim Ingham2013-04-111-2/+18
| | | | | | | | | | Otherwise the action of one location could delete the other locations, and that would leave us iterating over a reduced size collection and crash. <rdar://problem/13592544> llvm-svn: 179332
* TBAA: add utility to create a TBAA scalar type nodeManman Ren2013-04-111-1/+13
| | | | llvm-svn: 179331
* <rdar://problem/13623698>Enrico Granata2013-04-114-33/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the issue that we were using the C stack as a measure of depth of ValueObject hierarchies, in the sense that we were assuming that recursive ValueObject operations would never be deeper than the stack allows. This assumption is easy to prove wrong, however. For instance, after ~10k runs through this loop: struct node { int value; node* child; node (int x) { value = x; child = nullptr; } }; int main () { node root(1); node* ptr = &root; int j = 2; while (1) { ptr->child = new node(j++); ptr = ptr->child; } return 0; } the deepmost child object will be deeper than the stack on most architectures, and we would be unable to display it This checkin fixes the issue by introducing a notion of root of ValueObject hierarchies. In a couple cases, we have to use an iterative algorithm instead of going to the root because we want to allow deeper customizations (e.g. formats, dynamic values). While the patch passes our test suite without regressions, it is a good idea to keep eyes open for any unexpected behavior (recursion can be subtle..) Also, I am hesitant to introduce a test case since failing at this will not just be marked as an "F", but most definitely crash LLDB. llvm-svn: 179330
* <rdar://problem/13370286>Greg Clayton2013-04-112-11/+26
| | | | | | Fixed a case there the OperatingSystemPython would try to access and play with SBValue objects when the process' public run lock was taken. Prior to this fix, all attempts to run any SBValue functions would fail if run from the private state thread (like updating the thread list). Now we have two run locks, one for public (all threads except the private state thread) and one for private. llvm-svn: 179329
* Use std::unique_ptr instead of std::auto_ptr.Greg Clayton2013-04-111-1/+1
| | | | llvm-svn: 179328
* Fixed SBValueList to have a __str__ function like all other SB classes. ↵Greg Clayton2013-04-111-2/+3
| | | | | | Previously this was done as __repr__. llvm-svn: 179327
* Fixed the thread list so it correctly updates after the first core thread ↵Greg Clayton2013-04-111-4/+2
| | | | | | exists. llvm-svn: 179326
* [ms-inline asm] Add a new AsmRewriteKind, AOK_Delete. To be used in a futureChad Rosier2013-04-111-10/+12
| | | | | | | commit. Part of rdar://13453209 llvm-svn: 179325
* Update test case for r179323.Chad Rosier2013-04-111-3/+3
| | | | llvm-svn: 179324
* [ms-inline asm] Remove brackets from around a symbol reference in the targetChad Rosier2013-04-112-10/+11
| | | | | | | | specific logic. This makes the code much less fragile. Test case coming on the clang side in a moment. rdar://13634327 llvm-svn: 179323
* Use FileCheck instead of grep.Preston Gurd2013-04-112-17/+12
| | | | llvm-svn: 179322
* Hand over the job of laying out the argument structureSean Callanan2013-04-113-17/+35
| | | | | | | | | | to the Materializer. Materialization is still done by the ClangExpressionDeclMap; this will be the next thing to move. Also fixed a layout bug that this uncovered. llvm-svn: 179318
* Fix undefined behavior in AArch64David Majnemer2013-04-111-7/+11
| | | | | | | | A64Imms::isLogicalImmBits and A64Imms::isLogicalImm will attempt to execute shifts that perform undefined behavior. Instead of attempting to perform the 64-bit rotation, treat it as a no-op. llvm-svn: 179317
* Optimize icmp involving addition betterDavid Majnemer2013-04-112-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | Allows LLVM to optimize sequences like the following: %add = add nsw i32 %x, 1 %cmp = icmp sgt i32 %add, %y into: %cmp = icmp sge i32 %x, %y as well as: %add1 = add nsw i32 %x, 20 %add2 = add nsw i32 %y, 57 %cmp = icmp sge i32 %add1, %add2 into: %add = add nsw i32 %y, 37 %cmp = icmp sle i32 %cmp, %x llvm-svn: 179316
* Mips specific inline asm memory operand modifier test caseJack Carter2013-04-111-0/+16
| | | | | | These changes are based on commit responses for r179135. llvm-svn: 179315
* [mips] Custom-lower i64 MULHS and MULHU nodes. Remove the code which selectsAkira Hatanaka2013-04-112-64/+4
| | | | | | | | multiply instructions in MipsSEDAGToDAGISel. This patch was supposed to be part of r178403. llvm-svn: 179314
* [mips] Clean up MipsISelDAGToDAG.cpp and MipsISelLowering.cpp.Akira Hatanaka2013-04-113-13/+12
| | | | | | | | | | - Rename function. - Pass iterator by value. - Remove header include. No functionality changes. llvm-svn: 179312
* Widen the checks in the ms abi memptr test to work under NDEBUGReid Kleckner2013-04-111-5/+5
| | | | llvm-svn: 179311
* Exclude test30 of Sema/return.c for Hexagon since setjmp.h include fileJyotsna Verma2013-04-111-0/+2
| | | | | | is unavailable for Hexagon. llvm-svn: 179310
* Add a new -mimplicit-float option for symmetry with -mno-implicit-float.Bob Wilson2013-04-113-1/+11
| | | | | | | This new option is the default, but it is useful to have a flag to override -mno-implicit-float by putting -mimplicit-float later on the command line. llvm-svn: 179309
* Follow Jordan's advice and use {{^}} and {{$}} for this testReid Kleckner2013-04-111-4/+4
| | | | | | | This is a better way of ensuring that we match the output of the rewriter and not the CHECK line. llvm-svn: 179308
* [asan] inline flags(), up to 1% perf gain on malloc-intensive codeKostya Serebryany2013-04-112-6/+5
| | | | llvm-svn: 179307
* [asan] make heavy_uar_test even heavierKostya Serebryany2013-04-111-5/+13
| | | | llvm-svn: 179306
* [ms-cxxabi] Implement member pointer emission and dereferencingReid Kleckner2013-04-115-79/+483
| | | | | | | | | | | | | | | | | | | | | Summary: Handles all inheritance models for both data and function member pointers. Also implements isZeroInitializable() and refactors some of the null member pointer code. MSVC supports converting member pointers through virtual bases, which clang does not (yet?) support. Implementing that extension is covered by http://llvm.org/15713 Reviewers: rjmccall CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D613 llvm-svn: 179305
* Handle C++ static variables in the expressionSean Callanan2013-04-111-0/+2
| | | | | | | | parser. <rdar://problem/13631469> llvm-svn: 179304
* Revert my last two commits while I debug what is wrong in a big endian host.Rafael Espindola2013-04-115-131/+90
| | | | llvm-svn: 179303
* [PCH] Change test/PCH/headersearch.cpp to use -emit-llvm-only instead of ↵Argyrios Kyrtzidis2013-04-111-3/+3
| | | | | | -emit-obj llvm-svn: 179301
* [libclang] Improve a doxygen comment, as suggested by Jordan.Argyrios Kyrtzidis2013-04-111-0/+1
| | | | llvm-svn: 179300
* Hexagon: Remove -g option from the assembler command line.Jyotsna Verma2013-04-113-3/+2
| | | | llvm-svn: 179299
* Fix llvm-readobj tests on big endian hosts.Rafael Espindola2013-04-111-1/+8
| | | | llvm-svn: 179298
* [libclang] Have clang_getCXXAccessSpecifier() also return the access control ↵Argyrios Kyrtzidis2013-04-114-13/+33
| | | | | | | | of a C++ declaration within its parent scope. Suggested by Stefan Seefeld. llvm-svn: 179297
* Static variables inside classes were not being added to the RecordDecl, now ↵Greg Clayton2013-04-113-8/+84
| | | | | | they are. This gets us closer to being able to display static variables in classes. llvm-svn: 179296
* cmake build of lldb was complaining about missing files.Sylvestre Ledru2013-04-112-0/+3
| | | | | | | | | Example: CMake Error at cmake/modules/LLVMProcessSources.cmake:89 (message): Found unknown source file /llvm-toolchain-3.3~svn179293.cmake/tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp llvm-svn: 179295
* Print more information about relocations.Rafael Espindola2013-04-115-90/+124
| | | | | | | | | | With this patch llvm-readobj now prints if a relocation is pcrel, its length, if it is extern and if it is scattered. It also refactors the code a bit to use bit fields instead of shifts and masks all over the place. llvm-svn: 179294
OpenPOWER on IntegriCloud