summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Detect efforts to declare a template member friend and explicitly ignore them.John McCall2010-08-204-9/+68
| | | | | | Avoids a crash. llvm-svn: 111609
* Added "source list -n" so you can list by symbol name. Moved "--count" from ↵Jim Ingham2010-08-201-22/+247
| | | | | | "-n" to "-c". Added a -s option so you can restrict the source listing to a particular shared library. llvm-svn: 111608
* Add an accessor to get the Declaration for a type.Jim Ingham2010-08-202-0/+8
| | | | llvm-svn: 111607
* Add methods to Function to get the first and last source lines of the ↵Jim Ingham2010-08-202-0/+102
| | | | | | function, and to get whether this Function is an inlined instance or not. llvm-svn: 111606
* Remove redundant call to ParseCompileUnitLineTable. The call to ↵Jim Ingham2010-08-201-5/+1
| | | | | | sc.comp_unit->GetLineTable() will parse the line table if it hasn't been read in. llvm-svn: 111605
* Use tool_output_file in llvm-extract and llvm-link too.Dan Gohman2010-08-202-18/+13
| | | | llvm-svn: 111604
* Use the new tool_output_file in several tools. This fixes a varietyDan Gohman2010-08-207-148/+150
| | | | | | | | of problems with output files being left behind or output streams being left unclosed. Fix llvm-mc to respect the -o option in all modes, rather than hardcoding outs() in some cases. llvm-svn: 111603
* Handle nested compound values in BindArray for multidimensional arrays. ↵Jordy Rose2010-08-202-0/+24
| | | | | | Fixes PR7945. llvm-svn: 111602
* Make the SCC printing passes use errs() instead of outs(), as theDan Gohman2010-08-202-13/+13
| | | | | | other printing passes do, and update the documentation accordingly. llvm-svn: 111601
* First step of refactoring variable handling in theSean Callanan2010-08-2010-402/+450
| | | | | | | | | | | | | | | expression parser. There shouldn't be four separate classes encapsulating a variable. ClangExpressionVariable is now meant to be the container for all variable information. It has several optional components that hold data for different subsystems. ClangPersistentVariable has been removed; we now use ClangExpressionVariable instead. llvm-svn: 111600
* Print chatty verbose messages to errs() instead of outs().Dan Gohman2010-08-201-7/+7
| | | | llvm-svn: 111599
* Minor cleanups to follow the common convention for passDan Gohman2010-08-201-7/+7
| | | | | | registration variables. llvm-svn: 111598
* When performing code-completion in the presence of a preamble, makeDouglas Gregor2010-08-204-22/+23
| | | | | | | | | sure to (1) actually use the remapped files we were given rather than old data, and (2) keep the remapped files alive until the code-completion results are destroyed. Big thanks to Daniel for the test case. llvm-svn: 111597
* Minor cleanups to follow the common convention for passDan Gohman2010-08-203-20/+22
| | | | | | registration variables. llvm-svn: 111596
* Introduce a new tool_output_file class, which extends raw_ostream withDan Gohman2010-08-204-1/+75
| | | | | | | | functionality that most command-line tools need: ensuring that the output file gets deleted if the tool is interrupted or encounters an error. llvm-svn: 111595
* Fix loop conditionals (MO.isDef() asserts that it's a reg) andEric Christopher2010-08-201-1/+2
| | | | | | move some constraints around. llvm-svn: 111594
* Converted to use runCmd() and expect() for more abstraction.Johnny Chen2010-08-201-50/+29
| | | | llvm-svn: 111593
* Add a couple of random comments.Eric Christopher2010-08-201-0/+3
| | | | llvm-svn: 111592
* Mangle explicit template arguments in dependent or overloaded names.John McCall2010-08-202-4/+62
| | | | llvm-svn: 111591
* When we decide not to reuse a precompiled preamble, clear out theDouglas Gregor2010-08-204-2/+23
| | | | | | previous precompiled preamble completely. Fixes <rdar://problem/8330950>. llvm-svn: 111590
* Use cmd.startswith("run") instead of string equivalence test.Johnny Chen2010-08-191-1/+1
| | | | llvm-svn: 111587
* If the target says that an extending load is not legal, regardless of whetherBob Wilson2010-08-191-7/+12
| | | | | | | | | | | it involves specific floating-point types, legalize should expand an extending load to a non-extending load followed by a separate extend operation. For example, we currently expand SEXTLOAD to EXTLOAD+SIGN_EXTEND_INREG (and assert that EXTLOAD should always be supported). Now we can expand that to LOAD+SIGN_EXTEND. This is needed to allow vector SIGN_EXTEND and ZERO_EXTEND to be used for NEON. llvm-svn: 111586
* Better handling of offsets on frame index references. rdar://8277890Jim Grosbach2010-08-194-23/+99
| | | | llvm-svn: 111585
* Regularize the API for accessing explicit template arguments.John McCall2010-08-198-100/+140
| | | | llvm-svn: 111584
* CrashRecovery/Darwin: On Darwin, raise sends a signal to the main thread insteadDaniel Dunbar2010-08-191-0/+34
| | | | | | | | | of the current thread. This has the unfortunate effect that assert() and abort() will end up bypassing our crash recovery attempts. We work around this for anything in the same linkage unit by just defining our own versions of the assert handler and abort. llvm-svn: 111583
* Previous revert failed to remove this file.Owen Anderson2010-08-191-0/+0
| | | | llvm-svn: 111582
* libclang: Execute clang_codeCompleteAt() inside a crash recovery context.Daniel Dunbar2010-08-194-13/+71
| | | | | | | - Test case is disabled for now, because something isn't write with file remapping. llvm-svn: 111581
* c-index-test: Diagnose parse / completion failures in -code-completion-at=.Daniel Dunbar2010-08-191-0/+8
| | | | llvm-svn: 111580
* c-index-test: As with reparse, only honor remapped false during the codeDaniel Dunbar2010-08-191-3/+1
| | | | | | | completion step with -code-completion-at=, to allow testing simulated source changes. llvm-svn: 111579
* libclang/Darwin: Always set the compatibility version in the dylib.Daniel Dunbar2010-08-191-11/+10
| | | | llvm-svn: 111578
* Update comment to remove special case for vector extending loads. AnBob Wilson2010-08-191-5/+2
| | | | | | | extending vector load should extend each element in the same way as the corresponding scalar extending load. llvm-svn: 111577
* Update debug logs.Evan Cheng2010-08-191-4/+4
| | | | llvm-svn: 111575
* Properly update MachineDominators when splitting critical edge.Evan Cheng2010-08-191-2/+25
| | | | llvm-svn: 111574
* Fix some typos in the documentation of -fdiagnostics-parseable-fixits. Typos ↵Douglas Gregor2010-08-191-1/+1
| | | | | | by me, patch by Eelis van der Weegen llvm-svn: 111573
* Abstracted the running of command through the command interpreter and checkingJohnny Chen2010-08-192-43/+55
| | | | | | | | | | | its return status into lldbtest.TestBase.runCmd(); and runCmd() in combination with checking the output against matching substrings (including startswith) into lldbtest.TestBase.expect(). TestUnsignedTypes.py is refactored to use the abstracted APIs. Other test cases to be modified later. llvm-svn: 111572
* Revert r111568 to unbreak clang self-host.Owen Anderson2010-08-192-66/+0
| | | | llvm-svn: 111571
* Correctly instantiate templates with non-type template arguments thatJohn McCall2010-08-192-1/+41
| | | | | | are local externs. Fixes <rdar://problem/8302138>. llvm-svn: 111570
* When a set of bitmask operations, typically from a bitfield initialization, ↵Owen Anderson2010-08-192-0/+66
| | | | | | | | only modifies the low bytes of a value, we can narrow the store to only over-write the affected bytes. llvm-svn: 111568
* Fixed a long delay in shutdown times by invalidating m_private_state_thread ↵Greg Clayton2010-08-191-0/+1
| | | | | | right before the private state thread (which calls "void *Process::RunPrivateStateThread ()") exits. llvm-svn: 111567
* Fix the source range of an anonymous namespace, from Jan BierbaumDouglas Gregor2010-08-191-2/+3
| | | | llvm-svn: 111561
* Intialize all of the code-generation optionsDouglas Gregor2010-08-191-0/+1
| | | | llvm-svn: 111560
* Fix a c-index-test leak with file remappingDouglas Gregor2010-08-191-2/+3
| | | | llvm-svn: 111559
* Add machine-parseable Fix-It output as part of diagnostics, under theDouglas Gregor2010-08-198-0/+64
| | | | | | flag -fdiagnostics-parseable-fixits, from Eelis van der Weegen! llvm-svn: 111557
* llvmc: Update examples.Mikhail Glushenkov2010-08-1927-187/+116
| | | | llvm-svn: 111553
* Trailing whitespace.Mikhail Glushenkov2010-08-191-3/+3
| | | | llvm-svn: 111552
* Disable LVI while I evaluate a failure.Owen Anderson2010-08-191-1/+1
| | | | llvm-svn: 111551
* Fix a loop overrun in ComputePreamble when the last remapped file was erased,Daniel Dunbar2010-08-193-9/+17
| | | | | | | | and reenable crash recovery test. - Reparsing is still very crashy / weird, so I had to sprinkle random code into the remapped input to get it to do what I want (i.e., crash!). llvm-svn: 111550
* JP 3 & JP 4Howard Hinnant2010-08-191-1/+1
| | | | llvm-svn: 111547
* GB 85, GB 87Howard Hinnant2010-08-195-136/+0
| | | | llvm-svn: 111546
* Test for PR7888.Eli Friedman2010-08-191-0/+3
| | | | llvm-svn: 111545
OpenPOWER on IntegriCloud