summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added a SBSection::GetParent() to the API.Greg Clayton2013-06-133-1/+22
| | | | llvm-svn: 183948
* Don't use PathV1.h in Signals.h.Rafael Espindola2013-06-139-23/+25
| | | | llvm-svn: 183947
* Don't depend on the transitive inclusion of PathV1.hRafael Espindola2013-06-131-0/+1
| | | | llvm-svn: 183946
* Don't depend on the transitive inclusion of PathV1.h.Rafael Espindola2013-06-133-0/+3
| | | | llvm-svn: 183945
* Use the sys::RemoveFileOnSignal that takes a StringRef.Rafael Espindola2013-06-132-2/+2
| | | | llvm-svn: 183944
* Add a RemoveFileOnSignal that takes a StringRef.Rafael Espindola2013-06-131-0/+4
| | | | llvm-svn: 183943
* Followup to r183931 to fix the lambda conversion-to-block-pointer member.Eli Friedman2013-06-132-2/+11
| | | | llvm-svn: 183942
* Don't use PathV1.h in FileUtilities.h.Rafael Espindola2013-06-135-10/+13
| | | | llvm-svn: 183941
* Avoid using PathV1.h in Program.h.Rafael Espindola2013-06-139-65/+58
| | | | llvm-svn: 183940
* [PowerPC] Disable fast-isel for existing -O0 tests for PowerPC.Bill Schmidt2013-06-1310-34/+31
| | | | | | | | | | | | | | | | | | | | | | | | This is a preliminary patch for fast instruction selection on PowerPC. Code generation can differ between DAG isel and fast isel. Existing tests that specify -O0 were written to expect DAG isel. Make this explicit by adding -fast-isel=false to the tests. In some cases specifying -fast-isel=false produces different code even when there isn't a fast instruction selector specified. This is because TM.Options.EnableFastISel = 1 at -O0 whether or not a FastISel object exists. Thus disabling fast isel can actually produce less conservative code. Because of this, some of the expected code generation in the -O0 tests needs to be adjusted. In particular, handling of function arguments is less conservative with -fast-isel=false (see isOnlyUsedInEntryBlock() in SelectionDAGBuilder.cpp). This results in fewer stack accesses and, in some cases, reduced stack size as uselessly loaded values are no longer stored back to spill locations in the stack. No functional change with this patch; test case adjustments only. llvm-svn: 183939
* R600: Don't try to fix reg class when copying IMPLICIT_DEF to a registerTom Stellard2013-06-131-1/+2
| | | | | | | | | The test case for this is way too complex to be useful as a lit test, and I was unable to reduce it. https://bugs.freedesktop.org/show_bug.cgi?id=65438 llvm-svn: 183937
* Don't depend on set being transitively included.Rafael Espindola2013-06-131-0/+1
| | | | llvm-svn: 183936
* Use the sys::ExecuteAndWait that takes StringRefs.Rafael Espindola2013-06-134-7/+9
| | | | | | Also don't depend on Program.h including PathV1.h. llvm-svn: 183935
* Add a version of sys::ExecuteAndWait that takes StringRefs.Rafael Espindola2013-06-132-0/+28
| | | | llvm-svn: 183934
* Fix DeleteDeadVarargs not to crash on functions referenced by BlockAddressesDerek Schuff2013-06-133-3/+35
| | | | | | | | | | | | | | | This pass was assuming that if hasAddressTaken() returns false for a function, the function's only uses are call sites. That's not true because there can be references by BlockAddresses too. Fix the pass to handle this case. Fix BlockAddress::replaceUsesOfWithOnConstant() to allow a function's type to be changed by RAUW'ing the function with a bitcast of the recreated function. Patch by Mark Seaborn. llvm-svn: 183933
* Be sure to print out the full file path when dumping breakpoint resolvers ↵Greg Clayton2013-06-131-1/+1
| | | | | | for file and line when the full path was specified. llvm-svn: 183932
* Fix a small bug in the linkage computation for the lambda ↵Eli Friedman2013-06-132-2/+11
| | | | | | conversion-to-function-pointer member. llvm-svn: 183931
* Update for llvm change.Rafael Espindola2013-06-132-4/+5
| | | | llvm-svn: 183930
* Update for llvm change.Rafael Espindola2013-06-131-3/+2
| | | | llvm-svn: 183929
* Have sys::FindProgramByName return a std::string.Rafael Espindola2013-06-136-27/+27
| | | | llvm-svn: 183928
* Mips: Remove global set.Benjamin Kramer2013-06-132-57/+68
| | | | | | Backends shouldn't retain any global state. No functionality change. llvm-svn: 183927
* Allow clang to build __clear_cache on ARM.Rafael Espindola2013-06-136-3/+18
| | | | | | | | | __clear_cache is special. It needs no signature, but is a real function in compiler_rt or libgcc. Patch by Andrew Turner. llvm-svn: 183926
* Merge changes to clang's Driver code into LLVM's Option libraryReid Kleckner2013-06-134-11/+45
| | | | | | | | | | | | This is in preparation for switching the clang driver over to using LLVM's Option library. Richard Smith introduced most of these changes to the clang driver in r167638. Reviewers: espindola on IRC Differential Revision: http://llvm-reviews.chandlerc.com/D970 llvm-svn: 183925
* Clean up test to appease NDEBUG builds.Richard Smith2013-06-131-6/+6
| | | | llvm-svn: 183924
* Added some new example code that can grab all functions from any executable, ↵Greg Clayton2013-06-132-0/+183
| | | | | | | | and it will print out the function name, range, return type and argument types. This example shows someone could iterate over all functions and do something intelligent with them, like create function signatures. Then two different builds could be compared to verify the API hasn't changed. llvm-svn: 183923
* InheritViz.cpp uses sys::Path, include PathV1.hRafael Espindola2013-06-131-0/+1
| | | | llvm-svn: 183922
* Covert remaining graph viewers from sys::Path to std::string.Rafael Espindola2013-06-131-3/+3
| | | | llvm-svn: 183921
* Update code for other graph viewing programs too.Rafael Espindola2013-06-131-3/+3
| | | | llvm-svn: 183920
* Reduce usage of sys::Path in the graph writer.Rafael Espindola2013-06-132-49/+52
| | | | | | Now PathV1.h is not needed in GraphWriter.h. llvm-svn: 183919
* cpp11-migrate: const-correcting IncludeExcludeInfoEdwin Vane2013-06-132-6/+6
| | | | | | isFileIncluded() needed to be marked const. llvm-svn: 183918
* cpp11-migrate: Add headers to file override informationEdwin Vane2013-06-133-0/+28
| | | | | | | | | | | File override structures now contain per-source overrides for headers. For now, modified headers are written to disk when the Migrator is done. This is only temporary behaviour since we can expect headers to be changed by migrating multiple source files. The changes need to be merged after all migrations are complete. llvm-svn: 183917
* Use version of DisplayGraph that takes a StringRef.Rafael Espindola2013-06-131-1/+1
| | | | llvm-svn: 183916
* Add a version of DisplayGraph that takes a StringRef.Rafael Espindola2013-06-131-0/+6
| | | | llvm-svn: 183915
* ARM: fix B decodingAmaury de la Vieuville2013-06-132-1/+3
| | | | llvm-svn: 183914
* ARM: fix t2am_imm8_offset operand printing for imm=#-0Amaury de la Vieuville2013-06-132-1/+5
| | | | llvm-svn: 183913
* Further reduce usage of sys::Path in bugpoint.Rafael Espindola2013-06-132-11/+11
| | | | llvm-svn: 183912
* Remove the windows CRSylvestre Ledru2013-06-131-20/+20
| | | | llvm-svn: 183911
* cpp11-migrate: Replace file override containerEdwin Vane2013-06-1318-90/+215
| | | | | | | | | | | | A more flexible container for storing overrides is required for headers. Before a source goes through the transform pipeline, any headers it references will be in their original state and unaffected by transforms applied to other sources. Therefore overrides for headers need to be kept separate for each source file. This patch doesn't introduce support for storing header overrides yet. It only replaces the existing structure and makes any necessary changes to support it. llvm-svn: 183910
* Try to fix the build with libstdc++ 4.4.Rafael Espindola2013-06-131-1/+2
| | | | llvm-svn: 183909
* Reduce sys::Path usage in bugpoint.Rafael Espindola2013-06-131-47/+47
| | | | llvm-svn: 183908
* X86: Make the cmov aliases work with intel syntax too.Benjamin Kramer2013-06-132-21/+54
| | | | llvm-svn: 183907
* [Support] Fix handle and memory leak for processes that are not waited forReid Kleckner2013-06-133-40/+27
| | | | | | | | | | | | Execute's Data parameter is now optional, so we won't allocate memory for it on Windows and we'll close the process handle. The Unix code should probably do something similar to avoid accumulation of zombie children that haven't been waited on. Tested on Linux and Windows. llvm-svn: 183906
* Teach clang about the armv4/armv4t distinctionTim Northover2013-06-132-4/+10
| | | | | | | | | When choosing a default CPU, clang used to pick ARM7TDMI (which has Thumb) even when the more restrictive armv4 triple was specified. This should fix that. Patch by Jeroen Hofstee. llvm-svn: 183905
* Zero-initializing variables; fixes a build breakage introduced in r183864.Aaron Ballman2013-06-131-2/+2
| | | | llvm-svn: 183904
* Modernize some low-hanging PathV1 uses.Benjamin Kramer2013-06-133-24/+27
| | | | llvm-svn: 183903
* libclang: Remove clang::RemapFiles, it's dead code.Benjamin Kramer2013-06-132-73/+0
| | | | llvm-svn: 183902
* libclang: Port CIndexer::getClangResourcesPath to PathV2. No functionality ↵Benjamin Kramer2013-06-132-16/+14
| | | | | | change. llvm-svn: 183901
* Add Ubuntu Saucy to the list of known Ubuntu releasesSylvestre Ledru2013-06-131-1/+3
| | | | | | | Thanks to Dmitry Shachnev for the patch See bug #16317 llvm-svn: 183899
* tsan: fix Windows Go crashDmitry Vyukov2013-06-131-1/+3
| | | | llvm-svn: 183898
* Do not create an object to call a static functionTobias Grosser2013-06-131-3/+1
| | | | llvm-svn: 183897
OpenPOWER on IntegriCloud