summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a 'deleteModule' method to the Linker class.Bill Wendling2013-10-163-1/+11
| | | | | | | | This deletes the Module ivar instead of having the LTO code generater do it. It also sets the pointer to 'NULL', so that if it's used again it will abort quickly. llvm-svn: 192778
* [asan] Remove CallocOverflow32 test from asan_test.Evgeniy Stepanov2013-10-161-11/+0
| | | | | | | The same as with MSan, this test behavior depends on ASAN_OPTIONS, and we've got a lit_test that covers this. llvm-svn: 192777
* [msan] Handle origins in __sanitizer_unaligned_(load|store)*.Evgeniy Stepanov2013-10-162-0/+28
| | | | llvm-svn: 192776
* Revert r192758 (and r192759), "MC: Better handling of tricky symbol and ↵NAKAMURA Takumi2013-10-168-62/+24
| | | | | | | | | | | | | | | section names" GNU AS didn't like quotes in symbol names. Error: junk at end of line, first unrecognized character is `"' .def "@feat.00"; "@feat.00" = 1 Reproduced on Cygwin's 2.23.52.20130309 and mingw32's 2.20.1.20100303. llvm-svn: 192775
* Make some pthread_mutex_* and pthread_cond_* interceptors common.Alexey Samsonov2013-10-1610-41/+127
| | | | | | | | | | | | Reviewers: eugenis, dvyukov Reviewed By: dvyukov CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1937 llvm-svn: 192774
* Really fix build warning/error that I think r192756 was trying to fix.Craig Topper2013-10-161-4/+4
| | | | llvm-svn: 192773
* Fix a bug that the empty string could be added to dead strip root.Rui Ueyama2013-10-162-1/+3
| | | | llvm-svn: 192772
* Propagate deadStripOptimize()'s failure to the caller.Rui Ueyama2013-10-163-9/+18
| | | | | | | We want to make the program to exit with non-zero exit code if there's an error during dead stripping. llvm-svn: 192771
* TypeFinder: prefer iterative algorithm to keep stack usage low.Will Dietz2013-10-162-10/+26
| | | | | | | Introduce subtype_reverse_iterator to maintain the numbering assigned during the recursive type walk. llvm-svn: 192770
* Fix a bug in Windows resource file detection.Rui Ueyama2013-10-161-1/+1
| | | | | | The magic bytes should not include the trailing NUL byte. llvm-svn: 192769
* A couple of small visual improvements for luiBen Langmuir2013-10-161-2/+2
| | | | | | | | Change titles to white rather than green text to improve readability on blue background, and use erase() instead of clear() to reduce flicker in the source window. llvm-svn: 192768
* Add a triple to this test.Rafael Espindola2013-10-161-1/+1
| | | | llvm-svn: 192767
* lui: clean up breakpoint window, and allow multi-line list itemsBen Langmuir2013-10-162-12/+79
| | | | | | | | | | * Clean the SBBreakpoint: id = out of the output * clamp output to window width (eventually we should be able to scroll left/right) * On 'tab', expand a breakpoint to show its locations * Allow enter/space to toggle breakpoints llvm-svn: 192766
* Add a ListWin to cui to show scrollabled lists Ben Langmuir2013-10-164-22/+102
| | | | | Author: Paul Redmond <paul.redmond@intel.com> llvm-svn: 192765
* Add support for metadata representing .ident directives.Rafael Espindola2013-10-167-0/+84
| | | | llvm-svn: 192764
* clang-tools-extra/modularize: Compare Paths to Prefix as ↵NAKAMURA Takumi2013-10-161-2/+6
| | | | | | | | natively-canonicalized form. On Win32, paths are not expected to be canonicalized. llvm-svn: 192763
* On 32 bit windows, mangle stdcall and fastcall decls in clang.Rafael Espindola2013-10-167-58/+226
| | | | | | | | | | | This removes the dependency on the llvm mangler doing it for us. In isolation, the benefit is that the testing of what mangling is applied is all in one place: (C, C++) X (Itanium, Microsoft) are all handled by clang. This also gives me hope that in the future the llvm mangler (and llvm-ar) will not depend on TargetMachine. llvm-svn: 192762
* Fix a pair of bugs in the emission of pubname tables:Eric Christopher2013-10-163-29/+62
| | | | | | | | | | | | | | | | 1) Make sure we emit static member variables by checking at the end of createGlobalVariableDIE rather than piecemeal in the function. (As a note, createGlobalVariableDIE needs rewriting.) 2) Make sure we use the definition rather than declaration DIE for two things: a) determining linkage for gnu pubnames, and b) as the address of the DIE for global variables. (As a note, createGlobalVariableDIE really needs rewriting.) Adjust the testcase to make sure we're checking the correct DIEs. llvm-svn: 192761
* Add a MCAsmInfoELF class and factor some code into it.Rafael Espindola2013-10-1623-32/+68
| | | | | | We had a MCAsmInfoCOFF, but no common class for all the ELF MCAsmInfos before. llvm-svn: 192760
* dos2unix on quoted-names.llHans Wennborg2013-10-161-20/+20
| | | | llvm-svn: 192759
* MC: Better handling of tricky symbol and section namesHans Wennborg2013-10-168-24/+62
| | | | | | | | | | | | | | | | | Because of win32 mangling, we produce symbol and section names with funny characters in them, most notably @ characters. MC would choke on trying to parse its own assembly output. This patch addresses that by: - Making @ trigger quoting of symbol names - Also quote section names in the same way - Just parse section names like other identifiers (to allow for quotes) - Don't assume @ signifies a symbol variant if it is in a string. Differential Revision: http://llvm-reviews.chandlerc.com/D1945 llvm-svn: 192758
* Move .ident handling to MCStreamer.Rafael Espindola2013-10-1611-27/+61
| | | | | | | | No functionality change, but exposes the API so that codegen can use it too. Patch by Katya Romanova. llvm-svn: 192757
* Fixing build warning/errorAndrew Kaylor2013-10-161-2/+3
| | | | llvm-svn: 192756
* Simplify zero initialization of DIEAttrs variable.David Blaikie2013-10-161-2/+1
| | | | llvm-svn: 192755
* Adding padding to the .eh_frame section in RuntimeDyldAndrew Kaylor2013-10-161-1/+15
| | | | llvm-svn: 192754
* Adding support for deregistering EH frames with MCJIT.Andrew Kaylor2013-10-1610-7/+118
| | | | | | Patch by Yaron Keren llvm-svn: 192753
* Fix typoMatt Arsenault2013-10-151-1/+1
| | | | llvm-svn: 192752
* Fix missing C++ mode thing in headerMatt Arsenault2013-10-151-1/+1
| | | | llvm-svn: 192751
* Enable MI Sched for x86.Andrew Trick2013-10-1567-280/+341
| | | | | | | | | | | | | | | | | | | | | | | | | | This changes the SelectionDAG scheduling preference to source order. Soon, the SelectionDAG scheduler can be bypassed saving a nice chunk of compile time. Performance differences that result from this change are often a consequence of register coalescing. The register coalescer is far from perfect. Bugs can be filed for deficiencies. On x86 SandyBridge/Haswell, the source order schedule is often preserved, particularly for small blocks. Register pressure is generally improved over the SD scheduler's ILP mode. However, we are still able to handle large blocks that require latency hiding, unlike the SD scheduler's BURR mode. MI scheduler also attempts to discover the critical path in single-block loops and adjust heuristics accordingly. The MI scheduler relies on the new machine model. This is currently unimplemented for AVX, so we may not be generating the best code yet. Unit tests are updated so they don't depend on SD scheduling heuristics. llvm-svn: 192750
* Make sure we're not attempting to construct a subprogram DIEEric Christopher2013-10-151-16/+18
| | | | | | | | twice and just look up the value. Fix the one case where we were trying to create a subprogram DIE and we should already have had one. Reflow formatting in collectDeadVariables while fixing. llvm-svn: 192749
* Add an assert that we have a scope that matters for methodsEric Christopher2013-10-151-1/+4
| | | | | | | and remove a call to getNonCompileUnitScope as a method shouldn't be in the compile unit scope. llvm-svn: 192748
* Clean up, formatting, comments. No functional change.Eric Christopher2013-10-151-100/+88
| | | | llvm-svn: 192747
* Test that we can merge together explicit and partial specializations fromRichard Smith2013-10-155-0/+35
| | | | | | merged declarations of a class template. llvm-svn: 192746
* Support/FileSystem.h: Remove a trailing comma in enum file_magic::Impl.NAKAMURA Takumi2013-10-151-1/+1
| | | | llvm-svn: 192745
* Use ASSERT_EQ rather than ASSERT_TRUE for better unit test failures.David Blaikie2013-10-151-3/+3
| | | | | | | Also minor using namespace move so it's not hard-up against the function definition and outside the namespace as is usual. llvm-svn: 192744
* R600/SI: Remove some leftover MI dump callVincent Lejeune2013-10-152-2/+0
| | | | llvm-svn: 192743
* Path: Recognize Windows compiled resource file.Rui Ueyama2013-10-155-2/+14
| | | | | | | | | | | | | | Some background: One can pass compiled resource files (.res files) directly to the linker on Windows. If a resource file is given, the linker will run "cvtres" command in background to convert the resource file to a COFF file to link it. What I'm trying to do with this patch is to make the linker to recognize the resource file by file magic, so that it can run cvtres command. Differential Revision: http://llvm-reviews.chandlerc.com/D1943 llvm-svn: 192742
* <rdar://problem/15235492>Enrico Granata2013-10-154-6/+23
| | | | | | | | | Extend DummySyntheticProvider to actually use debug-info vended children as the source of information Make Python synthetic children either be valid, or fallback to the dummy, like their C++ counterparts This allows LLDB to actually stop bailing out upon encountering an invalid synthetic children provider front-end, and still displaying the non synthetized ivar info llvm-svn: 192741
* C++ modules: merging for enumerations and enumerators with multiple definitionsRichard Smith2013-10-157-1/+76
| | | | | | (eg through template instantiations in multiple modules). llvm-svn: 192740
* Teach the AST dumper to dump the canonical declaration for a mergeable ↵Richard Smith2013-10-151-9/+16
| | | | | | declaration. llvm-svn: 192739
* Remove this regression test now that PR17578 is fixed (r192674). The fix is toYunzhong Gao2013-10-151-14/+0
| | | | | | reject this test case at the Sema stage, so no CodeGen test should be needed. llvm-svn: 192738
* Separating ELF and MachO stub info functions for RuntimeDyldAndrew Kaylor2013-10-153-23/+39
| | | | llvm-svn: 192737
* Reflow slightly.Eric Christopher2013-10-151-2/+2
| | | | llvm-svn: 192736
* Reformat.Eric Christopher2013-10-151-2/+1
| | | | llvm-svn: 192735
* [AArch64] Add support for NEON scalar signed saturating absolute value andChad Rosier2013-10-153-0/+69
| | | | | | scalar signed saturating negate instructions. llvm-svn: 192734
* [AArch64] Add support for NEON scalar signed saturating absolute value andChad Rosier2013-10-156-1/+201
| | | | | | scalar signed saturating negate instructions. llvm-svn: 192733
* Fixing some host==target assumptions in RuntimeDyldAndrew Kaylor2013-10-152-3/+6
| | | | llvm-svn: 192732
* Remove some dead code. (DarwinGDBCompat was retired in r189903).Adrian Prantl2013-10-152-13/+2
| | | | llvm-svn: 192731
* Struct byval: fix a copy-paste error for thumb2.Manman Ren2013-10-152-5/+44
| | | | | | PR17309 llvm-svn: 192730
* Add constant evaluation support for __builtin_isinf, __builtin_isfinite,Richard Smith2013-10-152-0/+76
| | | | | | __builtin_isnan, and __builtin_isnormal. Patch by Karthik Bhat! Tests by me. llvm-svn: 192729
OpenPOWER on IntegriCloud