summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [swig] Fix some typos in the build scripts.Bruce Mitchener2015-02-262-3/+3
| | | | | | | | | | | | Reviewers: zturner, ki.stfu Reviewed By: zturner, ki.stfu Subscribers: ki.stfu, lldb-commits Differential Revision: http://reviews.llvm.org/D7912 llvm-svn: 230706
* [Orc][Kaleidoscope] More tutorial cleanup, a little extra debugging output.Lang Hames2015-02-262-23/+19
| | | | llvm-svn: 230705
* [llvm-pdbdump] Add missing files.Zachary Turner2015-02-262-0/+105
| | | | llvm-svn: 230704
* [llvm-pdbdump] Fix dumping of function pointers and basic types.Zachary Turner2015-02-2612-65/+93
| | | | | | | | | | | | Function pointers were not correctly handled by the dumper, and they would print as "* name". They now print as "int (__cdecl *name)(int arg1, int arg2)" as they should. Also, doubles were being printed as floats. This fixes that bug as well, and adds tests for all builtin types. as well as a test for function pointers. llvm-svn: 230703
* PECOFF: allow more than one /alternatename for the same symbol.Rui Ueyama2015-02-265-27/+22
| | | | | | | | | | | Previously we have a string -> string map to keep the weak alias symbol mapping. Naturally we can't define more than one weak alias with that data structure. This patch is to allow multiple aliases for the same symbol by changing the map type to string -> set of string map. llvm-svn: 230702
* Remove commented out function.Eric Christopher2015-02-261-1/+0
| | | | | | (Saving files works, who knew?) llvm-svn: 230701
* Remove DebugLoc::print(LLVMContext, raw_ostream), it was justEric Christopher2015-02-263-10/+4
| | | | | | forwarding to the one that didn't take a context. llvm-svn: 230700
* getRegForInlineAsmConstraint wants to use TargetRegisterInfo forEric Christopher2015-02-2627-108/+137
| | | | | | | | | a lookup, pass that in rather than use a naked call to getSubtargetImpl. This involved passing down and around either a TargetMachine or TargetRegisterInfo. Update all callers/definitions around the targets and SelectionDAG. llvm-svn: 230699
* Add a TargetMachine argument to the AddressingModeMatcher, we'llEric Christopher2015-02-261-10/+14
| | | | | | | need this shortly to get a TargetRegisterInfo from the subtarget for TargetLowering routines. llvm-svn: 230698
* Don't crash on leaving nested __finally blocks through an EH edge.Nico Weber2015-02-263-26/+110
| | | | | | | | | | | | | | | The __finally emission block tries to be clever by removing unused continuation edges if there's an unconditional jump out of the __finally block. With exception edges, the EH continuation edge isn't always unused though and we'd crash in a few places. Just don't be clever. That makes the IR for __finally blocks a bit longer in some cases (hence small and behavior-preserving changes to existing tests), but it makes no difference in general and it fixes the last crash from PR22553. http://reviews.llvm.org/D7918 llvm-svn: 230697
* [x86] Fix PR22706 where we would incorrectly try lower a v32i8 dynamicChandler Carruth2015-02-262-13/+41
| | | | | | | | | | | | | blend as legal. We made the same mistake in two different places. Whenever we are custom lowering a v32i8 blend we need to check whether we are custom lowering it only for constant conditions that can be shuffled, or whether we actually have AVX2 and full dynamic blending support on bytes. Both are fixed, with comments added to make it clear what is going on and a new test case. llvm-svn: 230695
* Fix Bug 20400Chaoren Lin2015-02-261-1/+1
| | | | | | | | | | | | | | | | | | | Summary: http://llvm.org/bugs/show_bug.cgi?id=20400 The default triple of i686-pc-linux-gnu for 32 bit linux targets is compatible but not necessarily identical to the inferior binaries. Applying Azat Khuzhin's solution of using ArchSpec::IsCompatibleMatch() instead of ArchSpec::IsExactMatch() when comparing ObjectFile and Modules architecture. Reviewers: vharron Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D7897 llvm-svn: 230694
* Simplify arange output.Rafael Espindola2015-02-262-68/+43
| | | | | | | Move SectionMap to its only user (emitDebugARanges) and reorder to save a call to sort. llvm-svn: 230693
* Re-instate the pragma optimize hack for MSVC, but not clang-clReid Kleckner2015-02-261-0/+8
| | | | | | Reverts commit r230686 with define modifications. llvm-svn: 230692
* Add synchronization to TestWatchLocation.Chaoren Lin2015-02-261-0/+10
| | | | | | | | | | | | | | Summary: There was no guarantee that the three threads haven't already exited by the time the watchpoint is set. Reviewers: ovyalov Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D7916 llvm-svn: 230691
* [x86] Restructure the comments and the conditions for handlingChandler Carruth2015-02-261-13/+19
| | | | | | | | | | | | | | dynamic blends. This makes it much more clear what is going on. The case we're handling is that of dynamic conditions, and we're bailing when the nature of the vector types and subtarget preclude lowering the dynamic condition vselect as an actual blend. No functionality changed here, but this will make a subsequent bug-fix to this code much more clear. llvm-svn: 230690
* [x86] Re-order the combines of select in the X86 backend. This doesn'tChandler Carruth2015-02-261-19/+19
| | | | | | | change functionality, but makes it more clear that the dynamic case and the shuffle case don't overlap in any interesting way. llvm-svn: 230689
* [x86] Add an assert to catch if we ever try to blend a v32i8 withoutChandler Carruth2015-02-261-0/+3
| | | | | | AVX2. llvm-svn: 230688
* Give enum an unsigned type to silence -Wmicrosoft clang-cl warningReid Kleckner2015-02-261-1/+1
| | | | llvm-svn: 230687
* Remove stale pragma hack for an unsupported MSVC versionReid Kleckner2015-02-261-8/+0
| | | | llvm-svn: 230686
* Silence some Win64 clang-cl warnings about unused stuff due to ifdefsReid Kleckner2015-02-262-1/+4
| | | | llvm-svn: 230685
* Use wider type for overflow check on LLP64 platforms like Win64, found by ↵Reid Kleckner2015-02-261-2/+2
| | | | | | clang-cl -Wtautological llvm-svn: 230684
* [CMake] Make sure we built one variant of i386/i686 runtime libraries.Alexey Samsonov2015-02-263-3/+5
| | | | llvm-svn: 230683
* Wrap to 80 columns. No behavior change.Nico Weber2015-02-261-3/+4
| | | | llvm-svn: 230682
* Add myself as a code owner for Microsoft C++ ABI code and general Windows ↵Reid Kleckner2015-02-261-0/+4
| | | | | | | | | | | | support Reviewers: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D7891 llvm-svn: 230681
* IRCE: add a test case for r230619.Sanjoy Das2015-02-261-0/+32
| | | | llvm-svn: 230680
* [Driver] Use paths explicitly provided by the -L option before default pathsSimon Atanasyan2015-02-263-4/+13
| | | | | | | | | User should be able to override default search paths using the -L option. http://reviews.llvm.org/D7902 llvm-svn: 230679
* [ELF] Reduce the code indentationSimon Atanasyan2015-02-261-11/+10
| | | | | | No functional changes. llvm-svn: 230678
* [Mips] Mark some MipsELFFile member functions as constantSimon Atanasyan2015-02-261-3/+3
| | | | | | No functional changes. llvm-svn: 230677
* InstrProf: Simplify the construction of BinaryCoverageReaderJustin Bogner2015-02-263-84/+64
| | | | | | | | | | | | | Creating BinaryCoverageReader is a strange and complicated dance where the constructor sets error codes that member functions will later read, and the object is in an invalid state if readHeader isn't immediately called after construction. Instead, make the constructor private and add a static create method to do the construction properly. This also has the benefit of removing readHeader completely and simplifying the interface of the object. llvm-svn: 230676
* InstrProf: Rename ObjectFileCoverageMappingReader to BinaryCoverageReaderJustin Bogner2015-02-263-12/+10
| | | | | | | The current name is long and confusing. A shorter one is both easier to understand and easier to work with. llvm-svn: 230675
* Use getProcessTriple inside HostInfoBase::ComputeHostArchitectureSupport ↵Oleksiy Vyalov2015-02-261-1/+1
| | | | | | | | instead of getDefaultTargetTriple. http://reviews.llvm.org/D7893 llvm-svn: 230674
* SCEVExpander incorrectly marks generated subtractions as nuw/nswSanjoy Das2015-02-261-3/+6
| | | | | | | | | | | | | | | It is not sound to mark the increment operation as `nuw` or `nsw` based on a proof off of the add recurrence if the increment operation we emit happens to be a `sub` instruction. I could not come up with a test case for this -- the cases where SCEVExpander decides to emit a `sub` instruction is quite small, and I cannot think of a way I'd be able to get SCEV to prove that the increment does not overflow in those cases. Differential Revision: http://reviews.llvm.org/D7899 llvm-svn: 230673
* Try to fix a docs link.Nico Weber2015-02-261-3/+3
| | | | llvm-svn: 230672
* Can't set watchpoints on launching threads on Linux LLGS.Chaoren Lin2015-02-261-0/+2
| | | | | | | | | | | | | | Summary: They'll be set anyway when the thread starts running, so the launching threads should just ignore the set request. Reviewers: ovyalov Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D7914 llvm-svn: 230671
* [MC] Use the non-EH register mapping in the debug_frame section.Frederic Riss2015-02-262-4/+58
| | | | | | | | | | | | | | | | | | | | On 32bits x86 Darwin, the register mappings for the eh_frane and debug_frame sections are different. Thus the same CFI instructions should result in different registers in the object file. The problem isn't target specific though, but it requires that the mappings for EH register numbers be different from the standard Dwarf one. The patch looks a bit clumsy. LLVM uses the EH mapping as canonical for everything frame related. Thus we need to do a double conversion EH -> LLVM -> Non-EH, when emitting the debug_frame section. Fixes PR22363. Differential Revision: http://reviews.llvm.org/D7593 llvm-svn: 230670
* Support bitrig in autoconf build system.Eric Christopher2015-02-263-1/+15
| | | | | | Patch by Dave Huseby. llvm-svn: 230669
* Win64: Silently ignore __stdcall, __fastcall, and __thiscallReid Kleckner2015-02-264-11/+32
| | | | | | | | | | MSVC doesn't warn on this. Users are expected to apply the WINAPI macro to functions passed by pointer to the Win32 API, and this macro expands to __stdcall. This means we end up with a lot of useless noisy warnings about ignored calling conventions when compiling code with clang for Win64. llvm-svn: 230668
* Don't sibcall between SysV and Win64 convention functionsReid Kleckner2015-02-262-0/+48
| | | | | | | | The shadow stack space expectations won't match. Fixes PR22709. llvm-svn: 230667
* Change argument "class" keyword to "const"Johannes Doerfert2015-02-261-2/+2
| | | | llvm-svn: 230666
* Fixed canonical path function.John Thompson2015-02-262-2/+21
| | | | llvm-svn: 230665
* [Orc][Kaleidoscope] Fix a missed symbol mangling operation in the fully lazy ↵Lang Hames2015-02-261-1/+5
| | | | | | tutorial. llvm-svn: 230664
* Fix a typo Debugger::ExecuteIOHanders to Debugger::ExecuteIOHandlers.Siva Chandra2015-02-263-4/+4
| | | | | | | | | | | | | | Test Plan: Build LLDB. Reviewers: zturner, vharron, clayborg Reviewed By: vharron, clayborg Subscribers: jingham, lldb-commits Differential Revision: http://reviews.llvm.org/D7894 llvm-svn: 230663
* [UBSan] Run all UBSan tests in 32-bit mode as well.Alexey Samsonov2015-02-264-15/+33
| | | | | | | We build and support UBSan on 32-bit platforms. We should run tests there as well. Fixes PR22683. llvm-svn: 230662
* Fix a bug where LLDB could be convinced to attempt to extract a bitfield of ↵Enrico Granata2015-02-261-1/+1
| | | | | | size 0, and consequently crash llvm-svn: 230661
* [InstCombine/PowerPC] Convert aligned QPX load/store intrinsics into ↵Hal Finkel2015-02-262-0/+200
| | | | | | | | | | loads/stores InstCombine has long had logic to convert aligned Altivec load/store intrinsics into regular loads and stores. This mirrors that functionality for QPX vector load/store intrinsics. llvm-svn: 230660
* When the source has a series of assignments, users reasonably want toPaul Robinson2015-02-262-0/+116
| | | | | | | | | | | | have the debugger step through each one individually. Turn off the combine for adjacent stores at -O0 so we get this behavior. Possibly, DAGCombine shouldn't run at all at -O0, but that's for another day; see PR22346. Differential Revision: http://reviews.llvm.org/D7181 llvm-svn: 230659
* [Orc][Kaleidoscope] More diff-reduction between tutorial versions.Lang Hames2015-02-261-2/+2
| | | | llvm-svn: 230658
* Fix justify error for small structures in varargs for MIPS64BEPetar Jovanovic2015-02-264-0/+596
| | | | | | | | | | | | | | | There was a problem when passing structures as variable arguments. The structures smaller than 64 bit were not left justified on MIPS64 big endian. This is now fixed by shifting the value to make it left- justified when appropriate. This fixes the bug http://llvm.org/bugs/show_bug.cgi?id=21608 Patch by Aleksandar Beserminji. Differential Revision: http://reviews.llvm.org/D7881 llvm-svn: 230657
* Add -frtti/-fexceptions to some more tests that assume they're onFilipe Cabecinhas2015-02-262-5/+5
| | | | llvm-svn: 230656
OpenPOWER on IntegriCloud