summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ELF/AArch64] Support R_AARCH64_LDST128_ABS_LO12_NC relocation.Davide Italiano2016-01-142-0/+20
| | | | llvm-svn: 257731
* [X86] Don't alter HasOpaqueSPAdjustment after we've relied on itDavid Majnemer2016-01-146-9/+77
| | | | | | | | | | | | | | We rely on HasOpaqueSPAdjustment not changing after we've calculated things based on it. Things like whether or not we can use 'rep;movs' to copy bytes around, that sort of thing. If it changes, invariants in the backend will quietly break. This situation arose when we had a call to memcpy *and* a COPY of the FLAGS register where we would attempt to reference local variables using %esi, a register that was clobbered by the 'rep;movs'. This fixes PR26124. llvm-svn: 257730
* [GC] Remove more dead code from Registry [NFCI]Philip Reames2016-01-141-31/+7
| | | | llvm-svn: 257729
* Fix Release build warning.Philip Reames2016-01-141-0/+1
| | | | | | A value used only in an assert. Again. llvm-svn: 257728
* [GC] Remove a bunch of unused complexity from Registry and RegistryParser [NFCI]Philip Reames2016-01-142-129/+0
| | | | | | The only two Registries we have in the system are the GCStrategy and GCMetadataPrinter ones. Registry has a bunch of problems - for instance, order of initialization is undefined - and the code was overly general for what was actually used. I hope to completely kill Registry in the near future, but for now, just delete all the unused listener and parsing support. llvm-svn: 257727
* llvm-profdata.cpp: Fix comment lines. [-Wdocumentation]NAKAMURA Takumi2016-01-141-3/+3
| | | | llvm-svn: 257726
* [GCRoot] Assert preconditions to clarify behaviorPhilip Reames2016-01-141-8/+12
| | | | | | This code isn't reachable if the GFI (GCFunctionInfo*) is null. Clarify this by adding an assert and removing an always taken if. llvm-svn: 257724
* [codeview] Regenerate C++ display name test case and update commentsReid Kleckner2016-01-142-25/+36
| | | | | | | | | | Clang generates good display names for codeview since r255744, and the change to make LLVM use them was accidentally included in r257658. This change just updates the comments and test case to reflect reality better. llvm-svn: 257723
* [Sanitizer] Pass proper values to DTLS_on_libc_memalign.Alexey Samsonov2016-01-142-2/+2
| | | | | | | Fix a surprising typo: the old code used to think that dynamic TLS segments were several times larger than they actually are. llvm-svn: 257722
* Stop increasing alignment of externally-visible globals on ELFJames Y Knight2016-01-135-25/+65
| | | | | | | | | | | | | | platforms. With ELF, the alignment of a global variable in a shared library will get copied into an executables linked against it, if the executable even accesss the variable. So, it's not possible to implicitly increase alignment based on access patterns, or you'll break existing binaries. This happened to affect libc++'s std::cout symbol, for example. See thread: http://thread.gmane.org/gmane.comp.compilers.clang.devel/45311 llvm-svn: 257719
* [TLS] New lower emutls pass, fix linkage bugs.Chih-Hung Hsieh2016-01-1314-139/+372
| | | | | | | | | | | | | | | | | | | Previous implementation in http://reviews.llvm.org/D10522 created external references to __emutls_v.* variables. Such references are inaccurate and cannot be handled by all linkers, e.g. Android dynamic and gold linkers for aarch64. Now a new LowerEmuTLS pass to go through all global variables, and add emutls_v.* and emutls_t.* variables. These __emutls* variables have the same linkage and visibility as the associated user defined TLS variable. Also removed old code that dump __emutls* variables in AsmPrinter.cpp, and updated TLS unit tests. Differential Revision: http://reviews.llvm.org/D15300 llvm-svn: 257718
* change Xcode test run default to ignore xpass on Xunit outputTodd Fiala2016-01-131-2/+2
| | | | | | | | | | The Green Dragon LLVM builders are starting to parse xunit output on LLDB Xcode builders. By default the XML formatter treats xpass (unexpected successes) as failures. The new flag added ensures we simply ignore those for purposes of xUnit output. LLDB is not currently XPASS clean. llvm-svn: 257717
* Add file missing from r257712Reid Kleckner2016-01-131-0/+244
| | | | llvm-svn: 257715
* [libFuzzer] make CurrentUnit a POD object instead of vector to avoid extra ↵Kostya Serebryany2016-01-134-45/+51
| | | | | | allocations llvm-svn: 257713
* [codeview] Share more enums across the writer and the dumperReid Kleckner2016-01-138-253/+46
| | | | | | | | | Moves some .def files into include/DebugInfo/CodeView. Aslo remove a 'using namespace' directive from a header in readobj and update the uses of the endian helper types to compensate. llvm-svn: 257712
* [Sema] Suppress diags in overload resolution.George Burgess IV2016-01-136-101/+191
| | | | | | | | | | We were emitting diagnostics from our shiny new C-only overload resolution mode. This patch attempts to silence all such diagnostics. This fixes PR26085. Differential Revision: http://reviews.llvm.org/D16159 llvm-svn: 257710
* WebAssembly: fix build break introduced by ELFObjectWriter churnJF Bastien2016-01-132-4/+5
| | | | llvm-svn: 257709
* [Coverage] introduce class hierarchy (funcRecordReader) to support multiple ↵Xinliang David Li2016-01-132-22/+87
| | | | | | | | | | | | | versions of coverage data [resubmit after fixing build bot failures: qualify make_unique and eliminate -Wcovered-switch-default warning. With the planned size reduction change, the coverage format version is expected to be bumped up. This patch adds necessary support such that backward compatibility can be kept with maximal code sharing. Reading different versions of coverage data just requires instantiating the reader according to the version. No functional change is intended. Differiential Revision: http://reviews.llvm.org/D16133 llvm-svn: 257708
* Tame a -Wunknown-attributes warningJonathan Roelofs2016-01-131-1/+1
| | | | llvm-svn: 257707
* Add a triple to the test.Rafael Espindola2016-01-131-1/+1
| | | | | | Sorry for forgetting it the first time. llvm-svn: 257705
* Revert r257699 -- windows buildbot failure TBIXinliang David Li2016-01-132-90/+22
| | | | llvm-svn: 257703
* Better comments in test. NFCMarshall Clow2016-01-131-2/+3
| | | | llvm-svn: 257702
* [libFuzzer] make sure we find buffer overflow in the input buffer. ↵Kostya Serebryany2016-01-136-17/+48
| | | | | | Previously, re-using the same vector object was hiding buffer overflows (unless we used annotated vector) llvm-svn: 257701
* move return variable declarations down to where they are actually used; NFCISanjay Patel2016-01-131-11/+10
| | | | llvm-svn: 257700
* [Coverage] introduce class hierarchy (funcRecordReader) to support multiple ↵Xinliang David Li2016-01-132-22/+90
| | | | | | | | | | | | versions of coverage data With the planned size reduction change, the coverage format version is expected to be bumped up. This patch adds necessary support such that backward compatibility can be kept with maximal code sharing. Reading different versions of coverage data just requires instantiating the reader according to the version. No functional change is intended. Differiential Revision: http://reviews.llvm.org/D16133 llvm-svn: 257699
* Update cxx_dr_status for latest issues list.Richard Smith2016-01-131-383/+1289
| | | | llvm-svn: 257698
* Convert a few assert failures into proper errors.Rafael Espindola2016-01-1313-44/+79
| | | | | | Fixes PR25944. llvm-svn: 257697
* Fix test for C++03 - lacking noexceptMarshall Clow2016-01-131-0/+4
| | | | llvm-svn: 257696
* Update make_cxx_dr_status after the 3.8 branch.Richard Smith2016-01-131-2/+2
| | | | llvm-svn: 257695
* Revert r257686 "With COMPILER_RT_INCLUDE_TESTS turned ON and in a cross ↵Hans Wennborg2016-01-135-16/+8
| | | | | | | | | | | | | | | compiling" This broke the build. For example, from http://lab.llvm.org:8011/builders/clang-cmake-aarch64-full/builds/1191/steps/cmake%20stage%201/logs/stdio: -- Compiler-RT supported architectures: aarch64 CMake Error at projects/compiler-rt/cmake/Modules/AddCompilerRT.cmake:170 (string): string sub-command REPLACE requires at least four arguments. Call Stack (most recent call first): projects/compiler-rt/lib/CMakeLists.txt:4 (include) llvm-svn: 257694
* Fix -Wformat-pedantic warningHans Wennborg2016-01-131-1/+2
| | | | | | | | | | /work/llvm-3.8/llvm.src/tools/lldb/source/API/SBProcess.cpp:1003:73: error: format specifies type 'void *' but the argument has type 'lldb_private::Event *' [-Werror,-Wformat-pedantic] log->Printf ("SBProcess::%s (event.sp=%p) => %d", __FUNCTION__, event.get(), ret_val); ~~ ^~~~~~~~~~~ 1 error generated. llvm-svn: 257692
* Include IR/DerivedTypes.h instead of IR/Type.h to match LLVM change r256406.Hans Wennborg2016-01-131-1/+1
| | | | | | | | | | | | | | | | | | This is similar to r256407 and fixes the following warning: In file included from /work/llvm-3.8/llvm.src/tools/lldb/source/Target/ThreadPlanCallFunctionUsingABI.cpp:14: In file included from /work/llvm-3.8/llvm.src/tools/lldb/include/lldb/Target/ThreadPlanCallFunctionUsingABI.h:23: /work/llvm-3.8/llvm.src/include/llvm/IR/Type.h:350:16: error: inline function 'llvm::Type::getSequentialElementType' is not defined [-Werror,-Wundefined-inline] inline Type *getSequentialElementType() const; ^ /work/llvm-3.8/llvm.src/include/llvm/IR/Type.h:353:46: note: used here Type *getArrayElementType() const { return getSequentialElementType(); } ^ 1 error generated. I'm not sure why it's not showing on any bots. llvm-svn: 257691
* Revert changes to TestProcessLaunch.py as they are breaking a build.Zachary Turner2016-01-132-32/+20
| | | | llvm-svn: 257690
* Simplify. NFC.Rafael Espindola2016-01-131-9/+9
| | | | llvm-svn: 257689
* fix formatting; NFCSanjay Patel2016-01-131-4/+2
| | | | llvm-svn: 257688
* hasNUses(0) == use_empty() ; NFCISanjay Patel2016-01-131-4/+3
| | | | | | Also, improve variable name and remove unnecessary braces. llvm-svn: 257687
* With COMPILER_RT_INCLUDE_TESTS turned ON and in a cross compilingSumanth Gundapaneni2016-01-135-8/+16
| | | | | | | | | | | | | | | environment, the unit tests fail to link. This patch does the following changes >Rename COMPILER_RT_TEST_CFLAGS to COMPILER_RT_UNITTEST_CFLAGS to reflect the way it's used. >Add COMPILER_RT_TEST_COMPILER_CFLAGS to COMPILER_RT_UNITTEST_CFLAGS so that cross-compiler would be able to build/compile the unit tests >Add COMPILER_RT_UNITTEST_LINKFLAGS to COMPILER_RT_UNITTEST_CFLAGS so that cross-compiler would be able to link the unit tests (if needed) Differential Revision:http://reviews.llvm.org/D15082 llvm-svn: 257686
* Update comment for __cxa_demangle again to make it precise.Rui Ueyama2016-01-131-4/+5
| | | | | | Thanks for Ed Maste for the suggestion. llvm-svn: 257685
* Rename MSVC top-level folder to avoid name collision.Zachary Turner2016-01-131-1/+1
| | | | | | | | | | | | | | If you have two folders with the same name but different cases, MSBuild gets confused and generates an error when building from within Visual Studio. This patch renames it so that the cases of all folders named "LLDB tests" match. Patch by Jonathan Meier Differential Revision: http://reviews.llvm.org/D16150 llvm-svn: 257684
* Fix PR#25973 : 'basic_string::assign(InputIt, InputIt) doesn't provide the ↵Marshall Clow2016-01-1343-112/+771
| | | | | | strong exception safety guarantee'. This turned out to be a pervasive problem in <string>, which required a fair amount of rework. Add in an optimization for when iterators provide noexcept increment/comparison/assignment/dereference (which covers many of the iterators in libc++). Reviewed as http://reviews.llvm.org/D15862 llvm-svn: 257682
* Display detailed profile summary in llvm-profdata tool.Easwaran Raman2016-01-132-16/+156
| | | | | | | | | | | This adds a detailed profile summary in llvm-profdata. The summary is in the form of one or more triples of the form (P, N, M) which is interpreted as if we look at the Top-N counts in the profile, their sum accounts for P percentage of the sum of all counts in the program and the minimum count in the Top-N is M. Differential Revision: http://reviews.llvm.org/D16005 llvm-svn: 257680
* [Hexagon] Fix the options controlling jump table generationKrzysztof Parzyszek2016-01-131-2/+2
| | | | llvm-svn: 257679
* Update comment for __cxa_demangle.Rui Ueyama2016-01-131-1/+4
| | | | llvm-svn: 257678
* rangify; NFCISanjay Patel2016-01-131-6/+5
| | | | llvm-svn: 257677
* don't duplicate comments that are in the header file; NFCSanjay Patel2016-01-131-16/+0
| | | | llvm-svn: 257676
* don't repeat function names in comments; NFCSanjay Patel2016-01-131-8/+6
| | | | llvm-svn: 257675
* Fix some compiler warnings with MSVC 2015.Zachary Turner2016-01-136-3/+8
| | | | llvm-svn: 257671
* Get rid of const char** typemaps.Zachary Turner2016-01-131-70/+7
| | | | | | | | We already have char** typemaps which were near copy-pastes of the const char** versions. This way we have only one version that works for both. llvm-svn: 257670
* Fix TestProcessLaunch for Python 3.Zachary Turner2016-01-134-43/+94
| | | | | | | | | | | | | | | | | | There were a number of problems preventing this from working: 1. The SWIG typemaps for converting Python lists to and from C++ arrays were not updated for Python 3. So they were doing things like PyString_Check instead of using the PythonString from PythonDataObjects. 2. ProcessLauncherWindows was ignoring the environment completely. So any test that involved launching an inferior with any kind of environment variable would have failed. 3. The test itself was using process.GetSTDOUT(), which isn't implemented on Windows. So this was changed to save the value of the environment variable in a local variable and have the debugger look at the value of the variable. llvm-svn: 257669
* Relax testcase so it works on Windows.Adrian Prantl2016-01-131-2/+3
| | | | llvm-svn: 257667
OpenPOWER on IntegriCloud