summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [RuntimeDyld] Fix x86-64 MachO GOT relocation handling.Lang Hames2014-05-193-2/+8
| | | | | | | | | | | For GOT relocations the addend should modify the offset to the GOT entry, not the value of the entry itself. Teach RuntimeDyldMachO to do The Right Thing here. Fixes <rdar://problem/16961886>. llvm-svn: 209154
* [Mips] Show warning if the linker cannot find a pair for a R_MIPS_HI16Simon Atanasyan2014-05-192-4/+75
| | | | | | | relocation. In fact this case violates ABI but sometimes compilers might produce such code. llvm-svn: 209153
* Kill symbolization functionality in llvm-dwarfdump. We have llvm-symbolizer ↵Alexey Samsonov2014-05-197-145/+66
| | | | | | for that. llvm-svn: 209152
* Revert r209142.Todd Fiala2014-05-1910-36/+36
| | | | | | | Need to spend a little more time with suppressing the debugserver 64-to-32 bit warnings. Will re-submit after I get the warnings properly suppressed. llvm-svn: 209151
* Check the alwaysinline attribute on the call as well as on the caller.Peter Collingbourne2014-05-193-3/+13
| | | | | | Differential Revision: http://reviews.llvm.org/D3815 llvm-svn: 209150
* Non-allocatable Global Named RegisterRenato Golin2014-05-198-13/+115
| | | | | | | | | | | | | This patch implements global named registers in Clang, lowering to the just created intrinsics in LLVM (@llvm.read/write_register). A new type of LValue had to be created (Register), which just adds support to carry the metadata node containing the name of the register. Two new methods to emit loads and stores interoperate with another to emit the named metadata node. No guarantees are being made and only non-allocatable global variable named registers are being supported. Local named register support is unchanged. llvm-svn: 209149
* Removing an XFAIL which shouldn't apply. We no longer care about MSVC 9, and ↵Aaron Ballman2014-05-191-6/+0
| | | | | | this test probably should not have been XFAILed everywhere regardless. The test passes on Windows with MSVC 12. llvm-svn: 209148
* Use range forMatt Arsenault2014-05-191-4/+1
| | | | llvm-svn: 209147
* Added a commentAlexander Kornienko2014-05-191-0/+2
| | | | llvm-svn: 209146
* test/CodeGenCXX/dllexport.cpp: -O2 and -disable-llvm-optzns aren't neddedHans Wennborg2014-05-191-1/+1
| | | | | | | We only need them on the dllimport.cpp test to make sure that we emit code for available_externaly functions, and don't inline the IR. llvm-svn: 209145
* Don't refresh stat() info for pcm filesBen Langmuir2014-05-191-13/+1
| | | | | | | | Follow-up fix for 209138. Actually, since we already have this file open, we don't want to refresh the stat() info, since that might be newer than what we have open (bad!). llvm-svn: 209143
* Update Xcode settings for Xcode 5.1 (5B130a) to remove workspace warning.Todd Fiala2014-05-199-19/+33
| | | | llvm-svn: 209142
* Improved llvm-namespace-comment check.Alexander Kornienko2014-05-198-76/+277
| | | | | | | | | | | | | | | | | | | Summary: Handle various forms of existing namespace closing comments, fix existing comments with wrong namespace name, ignore short namespaces. The state of this check now seems to be enough to enable it by default to gather user feedback ;) Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3825 llvm-svn: 209141
* This test doesn't need to be XFAILed anywhere; it just needed to be updated ↵Aaron Ballman2014-05-191-4/+3
| | | | | | to the appropriate diagnostic wording. llvm-svn: 209140
* reverting r209132Jyotsna Verma2014-05-194-703/+250
| | | | llvm-svn: 209139
* Fix use-after-free and spurious error during module loadBen Langmuir2014-05-192-2/+38
| | | | | | | | | | | | | | FileManager::invalidateCache is not safe to call when there may be existing references to the file. What module load failure needs is to refresh so stale stat() info isn't stored. This may be the last user of invalidateCache; I'll take a look and remove it if possible in a future commit. This caused a use-after-free error as well as a spurious error message that a module was "found in both 'X.pcm' and 'X.pcm'" in some cases. llvm-svn: 209138
* MemoryBuffer: Use GetNativeSystemInfo()Alp Toker2014-05-192-17/+6
| | | | | | | Removes old 4096 byte workaround. This functionality has been available since Windows XP. llvm-svn: 209137
* [sanitizer] Fix go build following r209121.Sergey Matveev2014-05-191-1/+1
| | | | llvm-svn: 209136
* Revert "Patch for function cloning to inline all blocks whose address is taken"Eric Christopher2014-05-191-106/+34
| | | | | | | | as it was causing build failures in ruby. This reverts commit r207713. llvm-svn: 209135
* [ARM64] Split tbz/tbnz into W/X register variantBradley Smith2014-05-199-66/+146
| | | | llvm-svn: 209134
* Revert use of 128bit support on 32bit PPC, it breaks build at least withJoerg Sonnenberger2014-05-191-1/+1
| | | | | | GCC and that doesn't expose any *ti* functions either. llvm-svn: 209133
* Hexagon: Add encoding bits to the mpy instructions.Jyotsna Verma2014-05-194-250/+703
| | | | llvm-svn: 209132
* [analyzer] Alpha and implicit checker lists, expand/collapse feature.Anton Yartsev2014-05-1911-90/+1271
| | | | | | | | The list of alpha and the list of implicit checkers added. An ability to expand/collapse long texts added. Markup fixed. http://reviews.llvm.org/D3457 llvm-svn: 209131
* This test is XFAILed on Windows, but I cannot see a reason as to why it ↵Aaron Ballman2014-05-191-2/+0
| | | | | | | | should be failing. The original commit which XFAILed this was r111581, which suggested something was wrong with file remapping, but that may have been subsequently fixed. Removing the XFAIL, but will watch the build bots to see if any go red because of this. Local testing on Windows succeeds. llvm-svn: 209130
* [mips][mips64r6] Sorted *_ENC, *_DESC classes and testsZoran Jovanovic2014-05-193-153/+160
| | | | | | Differential Revision: http://reviews.llvm.org/D3808 llvm-svn: 209129
* Fixing some comments in this test. No functional changes.Aaron Ballman2014-05-191-3/+3
| | | | llvm-svn: 209128
* [OpenCL] Reject reqd_work_group_size(X, Y, Z) where X, Y or Z == 0.Joey Gouly2014-05-193-2/+15
| | | | | | Patch by Pedro Ferreira! llvm-svn: 209127
* Resolving MSVC warnings about switch statements with a default label, but no ↵Aaron Ballman2014-05-192-11/+6
| | | | | | case labels. No functional changes intended. llvm-svn: 209126
* Flip on vectorization of bswap intrinsics.Benjamin Kramer2014-05-192-0/+45
| | | | | | | | | The cost model conservatively assumes that it will always get scalarized and that's about as good as we can get with the generic TTI; reasoning whether a shuffle with an efficient lowering is available is hard. We can override that conservative estimate for some targets in the future. llvm-svn: 209125
* Pass -gdwarf-N options to integrated assemblerOliver Stannard2014-05-194-0/+39
| | | | llvm-svn: 209124
* SDAG: Legalize vector BSWAP into a shuffle if the shuffle is legal but the ↵Benjamin Kramer2014-05-199-7/+184
| | | | | | | | | | bswap not. - On ARM/ARM64 we get a vrev because the shuffle matching code is really smart. We still unroll anything that's not v4i32 though. - On X86 we get a pshufb with SSSE3. Required more cleverness in isShuffleMaskLegal. - On PPC we get a vperm for v8i16 and v4i32. v2i64 is unrolled. llvm-svn: 209123
* ARM: PCS non-compliance when struct is padded to avoid register/stack split, ↵Oliver Stannard2014-05-192-7/+16
| | | | | | | | | | and requires internal padding When we were padding a struct to avoid splitting it between registers and the stack, we were throwing away the type which the argument should be coerced to. llvm-svn: 209122
* [sanitizer] Support sandboxing in sanitizer coverage.Sergey Matveev2014-05-1911-32/+268
| | | | | | | | | | | Summary: Sandboxed code may now pass additional arguments to __sanitizer_sandbox_on_notify() to force all coverage data to be dumped to a single file (the default is one file per module). The user may supply a file or socket to write to. The latter option can be used to broker out the file writing functionality. If -1 is passed, we pre-open a file. llvm-svn: 209121
* Make the ARCMT tests self-contained.Manuel Klimek2014-05-1910-2/+351
| | | | | | This is necessary to reduce staging times on parallel build systems. llvm-svn: 209120
* [asan] Make the coverage tests clean up after themselves.Sergey Matveev2014-05-192-0/+4
| | | | llvm-svn: 209119
* Build lldb-mi with autotools on Linux. Hafiz Abid Qadeer2014-05-191-0/+4
| | | | | | | THe lldb-mi stuff was not being built on Linux with autotools. I only added Linux now as I have tested that it build fine on Linux. llvm-svn: 209117
* [asan] update asan_symbolize.py to use the new llvm-symbolizer flag syntaxKostya Serebryany2014-05-191-1/+1
| | | | llvm-svn: 209116
* [Sanitizer tests] Don't need to use -lstdc++ thanks to --driver-mode=g++Timur Iskhodzhanov2014-05-193-5/+4
| | | | | | Reviewed at http://reviews.llvm.org/D3796 llvm-svn: 209115
* clang-format: Don't force line breaks in ObjC calls with ColumnLimit 0.Daniel Jasper2014-05-192-9/+22
| | | | | | | | | | | Before: [self.x a:b c:d]; Got reformatted toi (with ColumnLimit set to 0): [self.x a:b c:d]; llvm-svn: 209114
* clang-format: [JS] Support ES6 destructuring assignments.Daniel Jasper2014-05-192-0/+8
| | | | | | | | | | Before: var[a, b, c] = [1, 2, 3]; After: var [a, b, c] = [1, 2, 3]; llvm-svn: 209113
* clang-format: [JS] Support for EC6 arrow functions.Daniel Jasper2014-05-192-0/+5
| | | | | | | | | | Before: var b = a.map((x) = > x + 1); After: var b = a.map((x) => x + 1); llvm-svn: 209112
* Address review comments on r208954. No functional changes.Daniel Jasper2014-05-191-7/+6
| | | | llvm-svn: 209111
* Added inst-combine for 'MIN(MIN(A, 97), 23)' and 'MAX(MAX(A, 23), 97)'Dinesh Dwivedi2014-05-192-5/+65
| | | | | | | | | | | This removes TODO added in r208849 [http://reviews.llvm.org/D3629] MIN(MIN(A, 97), 23) -> MIN(A, 23) MAX(MAX(A, 23), 97) -> MAX(A, 97) Differential Revision: http://reviews.llvm.org/D3785 llvm-svn: 209110
* Added gdb remote test for one valid qRegisterInfo result.Todd Fiala2014-05-191-0/+70
| | | | | | | | | | | | Checks that at at least qRegisterInfo0 responds with a valid register info reply packet. The packet is parsed and validates that all keys come from the documented set of valid keys. It then validates that a minimum set of expected keys are present in the returned packet. This test is set to pass on debugserver and fail on llgs TOT. llvm-svn: 209109
* Add support for gdb remote $X stop notification.Todd Fiala2014-05-193-2/+3
| | | | | | | | | | | | | | debugserver now returns $X09 as the immediate response to a $k kill process request rather than $W09. ProcessGDBRemote now properly handles X as indication of a process exit state. The @debugserver_test and @lldb_test for $k now properly expects an X notification (signal-caused exit) after killing a just-attached inferior that was still in the stopped state. llvm-svn: 209108
* Change the blend tests to AVX, not AVX2.Filipe Cabecinhas2014-05-191-1/+1
| | | | llvm-svn: 209107
* Reformat blank lines.NAKAMURA Takumi2014-05-1913-14/+5
| | | | llvm-svn: 209106
* Whitespace.NAKAMURA Takumi2014-05-196-28/+27
| | | | llvm-svn: 209105
* polly: update for LLVM API changeSaleem Abdulrasool2014-05-192-5/+6
| | | | | | | SVN r209103 removed the OwningPtr variant of the MemoryBuffer APIs. Switch to the equivalent std::unique_ptr versions. This should clear up the build bots. llvm-svn: 209104
* Remove last uses of OwningPtr from llvm. As far as I can tell these method ↵Craig Topper2014-05-186-106/+0
| | | | | | versions are not used by lldb, lld, or clang. llvm-svn: 209103
OpenPOWER on IntegriCloud