summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Create enums for the different attributes.Bill Wendling2012-10-0948-306/+319
| | | | | | | We use the enums to query whether an Attributes object has that attribute. The opaque layer is responsible for knowing where that specific attribute is stored. llvm-svn: 165488
* CXXMethodDecl::isConst() and CXXMethodDecl::isVolatile() can be const methodsArnaud A. de Grandmaison2012-10-091-2/+2
| | | | | | Patch by: Laszlo Nagy llvm-svn: 165486
* Remove some dead methods.Bill Wendling2012-10-093-37/+0
| | | | llvm-svn: 165485
* Remove ifdef'd code.Bill Wendling2012-10-091-38/+0
| | | | llvm-svn: 165484
* Separate AVXCC and SSECC printing for cmpps/pd/ss/sd and add masking before ↵Craig Topper2012-10-095-4/+55
| | | | | | the switch statement. This keeps the unreachable default case from being hit if the instruction was created with an intrinsic with too large of an immediate. llvm-svn: 165483
* Revert r117093, "test/Makefile: Force lit -j1 on Cygwin."NAKAMURA Takumi2012-10-091-5/+0
| | | | | | lit -jN works on cygwin in most cases, but still sometimes I can see stalls with iterative run on the buildbot. llvm-svn: 165482
* Trivial change to the README, mainly to test commit access.Sameer Sahasrabuddhe2012-10-091-0/+2
| | | | llvm-svn: 165481
* In parseMSRMaskOperand, add an explicit check for the operand being an ↵Craig Topper2012-10-091-1/+2
| | | | | | identifier instead of just having an assert. llvm-svn: 165480
* Remove some dead code from ARMAsmPrinter. Add virtual and LLVM_OVERRIDE to ↵Craig Topper2012-10-092-38/+22
| | | | | | the other methods. Mark some of the helper methods as private. llvm-svn: 165479
* Remove some unused code in the X86AsmPrinter. Add LLVM_OVERRIDE and virtual ↵Craig Topper2012-10-092-64/+15
| | | | | | keywords to the remaining interface methods. llvm-svn: 165478
* * Add relocation reference support for Hexagon and PowerPC.Sid Manning2012-10-0913-88/+438
| | | | | | | | | | | - Hexagon has many relocation types, this patch covers just a subset, more will be added. - PowerPC support was added so that we can verify mixed endian environments. * Add some basic test cases * Update ldd-core to accept -endian flag llvm-svn: 165477
* Fix PR14034, an infloop / heap corruption / crash bug in the new SROA.Chandler Carruth2012-10-092-0/+22
| | | | | | | Thanks to Benjamin for the raw test case. This one took about 50 times longer to reduce than to fix. =/ llvm-svn: 165476
* whitespaceNadav Rotem2012-10-091-2/+1
| | | | llvm-svn: 165475
* Move misplaced comment.Sean Silva2012-10-091-2/+2
| | | | llvm-svn: 165474
* Move the logic that searches for overridden methods from libclang toArgyrios Kyrtzidis2012-10-093-180/+202
| | | | | | ASTContext so that it can be widely available. llvm-svn: 165473
* When storing the C++ overridden methods, store them once for theArgyrios Kyrtzidis2012-10-093-4/+9
| | | | | | canonical method; avoid storing them again for an out-of-line definition. llvm-svn: 165472
* Add a parameter to Symbols::DownloadObjectAndSymbolFile() to controlJason Molenda2012-10-094-61/+119
| | | | | | | | | | | | | | | | | | | whether we try to call an external program to load symbols unconditionally, or if we check the user's preferences before calling it. ProcessMachCore now sets CanJIT to false - we can't execute code in a core file. DynamicLoaderDarwinKernel::OSKextLoadedKextSummary::LoadImageUsingMemoryModule changed to load the kernel from an on-disk file if at all possible. Don't load the kext binaries out of memory from the remote systems - their linkedit doesn't seem to be in a good state and we'll error out down in SymbolVendorMacOSX if we try to use the in-memory images. Call Symbols::DownloadObjectAndSymbolFile to get the kext/kernel binary -- the external program may be able to give us a file path on the local filesystem instead of reading the binary / dSYM over a network drive every time. Fall back to calling Target::GetSharedModule() like before if DownloadObjectAndSymbolFile fails. llvm-svn: 165471
* Remove a couple more 'hasAttrSomewhere' calls.Bill Wendling2012-10-091-2/+8
| | | | llvm-svn: 165470
* Fix. Apply the no capture attribute to the correct parameter.Bill Wendling2012-10-091-4/+7
| | | | llvm-svn: 165469
* Convert to using the Attributes::Builder class to create attributes.Bill Wendling2012-10-092-14/+29
| | | | llvm-svn: 165468
* Use an iterator and proper query method instead of the 'hasAttrSomewhere' ↵Bill Wendling2012-10-091-5/+6
| | | | | | method. llvm-svn: 165467
* Remove more uses of the attribute enums by supplying appropriate query ↵Bill Wendling2012-10-094-18/+157
| | | | | | | | methods for them. No functionality change intended. llvm-svn: 165466
* Convert to using the Attributes::Builder interface.Bill Wendling2012-10-095-16/+47
| | | | llvm-svn: 165465
* Fix typo in docs.Eric Christopher2012-10-081-3/+3
| | | | llvm-svn: 165464
* Fix up comment to be more clear.Eric Christopher2012-10-081-2/+2
| | | | llvm-svn: 165463
* Make sure we allow "#pragma options align=mac68k" in function-local ↵Eli Friedman2012-10-082-0/+17
| | | | | | contexts. <rdar://problem/12453134> llvm-svn: 165462
* Update comment.Bill Wendling2012-10-081-1/+1
| | | | llvm-svn: 165461
* Fix a build warning and a dangerous possible crasher.Greg Clayton2012-10-081-1/+1
| | | | llvm-svn: 165460
* Add regression test to check if -Wenum-conversion is a subgroup of -Wconversion.Ted Kremenek2012-10-081-0/+8
| | | | llvm-svn: 165459
* Use the Attributes::Builder to build the attributes in the parser.Bill Wendling2012-10-084-22/+92
| | | | llvm-svn: 165458
* Use DataTypes.hNadav Rotem2012-10-081-1/+1
| | | | llvm-svn: 165457
* In VarDecl::getSourceRange() make sure to check that the source locationArgyrios Kyrtzidis2012-10-082-3/+25
| | | | | | | | | | of the initializer is valid before using it. Fixes rdar://12455002&12449015 where local variables of objc objects in ARC mode were not annotated because of the ImplicitValueInitExpr initializer having invalid source range, resulting in the SourceRange of the VarDecl having invalid end location. llvm-svn: 165456
* Refactor the AddrMode class out of TLI to its own header file.Nadav Rotem2012-10-085-25/+53
| | | | | | | | This class is used by LSR and a number of places in the codegen. This is the first step in de-coupling LSR from TLI, and creating a new interface in between them. llvm-svn: 165455
* Make DebugMapModule destructor virtual since it inherits from Module.Greg Clayton2012-10-081-0/+5
| | | | llvm-svn: 165441
* Actually add the -Wenum-conversion group to -Wconversion as r165361Chandler Carruth2012-10-081-0/+1
| | | | | | seems to have intended. llvm-svn: 165440
* Sort the subgroups of the diagnostic group for -Wconversion. NoChandler Carruth2012-10-081-6/+6
| | | | | | functionality changed. llvm-svn: 165439
* Added a new "module" log channel which covers module creation, deletion, and ↵Greg Clayton2012-10-0811-29/+44
| | | | | | | | | | common module list actions. Also added a new option for "log enable" which is "--stack" which will print out a stack backtrace for each log line. This was used to track down the leaking module issue I fixed last week. llvm-svn: 165438
* Checking in fixes that I used to track down a leaking module. The heap ↵Greg Clayton2012-10-082-23/+150
| | | | | | module can now search the vm regions with the --vm-regions options to any of the heap functions. This is currently slow and often will time out when run on a large program since our user expression timeout is set to 500000 usec. We need to add an API to LLDB where we can specify the timeout for an expression. llvm-svn: 165437
* Convert the LLVM parser over to using the new Attributes::Builder to build itsBill Wendling2012-10-083-33/+40
| | | | | | attributes objects. llvm-svn: 165436
* Give CaptureTracker::shouldExplore a base implementation. Most users want to doNick Lewycky2012-10-083-5/+3
| | | | | | the same thing. No functionality change. llvm-svn: 165435
* Don't crash on extra evil irreducible control flow.Jakob Stoklund Olesen2012-10-083-2/+85
| | | | | | | | | | | | | | When the CFG contains a loop with multiple entry blocks, the traces computed by MachineTraceMetrics don't always have the same nice properties. Loop back-edges are normally excluded from traces, but MachineLoopInfo doesn't recognize loops with multiple entry blocks, so those back-edges may be included. Avoid asserting when that happens by adding an isEarlierInSameTrace() function that accurately determines if a dominating block is part of the same trace AND is above the currrent block in the trace. llvm-svn: 165434
* Begin the transition to using the AttributesImpl object for the Attributes ivar.Bill Wendling2012-10-084-84/+228
| | | | | | | | | | | Start using the AttributesImpl object to hold the value of the attributes. All queries go through the interfaces now. This has one unfortunate consequence. I needed to move the AttributesImpl.h file into include/llvm. But this is only temporary! Otherwise, the changes needed to support this would be too large. llvm-svn: 165433
* Add names for the accelerator table sections so that they canEric Christopher2012-10-081-0/+12
| | | | | | be emitted if they're wanted on elf platforms. llvm-svn: 165432
* Update comment.Eric Christopher2012-10-081-1/+2
| | | | llvm-svn: 165431
* Make Bitrig's clang understand -stdlib= correctly.Chandler Carruth2012-10-082-8/+46
| | | | | | | | | With this patch Bitrig can use a different c++ library without pain and within the normal commandline parameters. Original patch by David Hill, with lots of fixes and cleanup by me. llvm-svn: 165430
* Use a special path to place the .o files in.Bill Wendling2012-10-081-1/+2
| | | | llvm-svn: 165429
* Use a special path to place the .o files in.Bill Wendling2012-10-083-3/+6
| | | | llvm-svn: 165428
* Fixup comment.Eric Christopher2012-10-081-1/+1
| | | | llvm-svn: 165427
* Fixup comments.Eric Christopher2012-10-081-2/+2
| | | | llvm-svn: 165426
* CompilationDatabaseTest: Fix another Windows path issue.Daniel Jasper2012-10-081-2/+6
| | | | llvm-svn: 165425
OpenPOWER on IntegriCloud