summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* AMDGPU/SI: Update ISA version for FIJIChangpeng Fang2016-01-135-2/+9
| | | | llvm-svn: 257666
* Fix instance of -Wcovered-switch-defaultReid Kleckner2016-01-131-2/+0
| | | | llvm-svn: 257665
* dsymutil: Only warn about missing clang modules once.Adrian Prantl2016-01-133-3/+13
| | | | | | rdar://problem/22269336 llvm-svn: 257664
* Remove bashism from merge.sh: POSIX sh does not have the `function`Dimitry Andric2016-01-131-1/+1
| | | | | | | reserved word, and it is even superfluous in bash, for this particular instance. llvm-svn: 257663
* Fix build of CodeView libraryReid Kleckner2016-01-131-1/+2
| | | | llvm-svn: 257662
* Attempt to make FreeBSD buildbot green.Rui Ueyama2016-01-131-0/+5
| | | | | | | | It seems that __cxa_demangle function on the buildbot tried to demangle a variable "tlsvar" as a C++ symbol. Do not call that function unless it does not start with "_Z" which is the prefix of mangled names. llvm-svn: 257661
* Unbreak the sphinx buildHans Wennborg2016-01-131-2/+2
| | | | llvm-svn: 257659
* [readobj] Expand CodeView dumping functionalityReid Kleckner2016-01-1320-492/+2969
| | | | | | | | | | | | | | | | This rewrites and expands the existing codeview dumping functionality in llvm-readobj using techniques similar to those in lib/Object. This defines a number of new records and enums useful for reading memory mapped codeview sections in COFF objects. The dumper is intended as a testing tool for LLVM as it grows more codeview output capabilities. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D16104 llvm-svn: 257658
* [WebAssembly] Add an assertion to catch unexpected MCFixupKindInfo flags.Dan Gohman2016-01-131-0/+2
| | | | llvm-svn: 257657
* Mark these tests on FreeBSD and Linux as non-flakey. We don't know that they areEnrico Granata2016-01-131-2/+0
| | | | llvm-svn: 257656
* [WebAssembly] MCFixupKindInfo's TargetSize is in bits rather than bytes.Dan Gohman2016-01-132-2/+16
| | | | llvm-svn: 257655
* Fixed a problem where the Xcode build put lldb's __init__.py in the wrong place.Sean Callanan2016-01-131-1/+1
| | | | | | | | | Most of the time CONFIGURATION_BUILD_DIR and BUILT_PRODUCTS_DIR are the same, but they are different in 'xcodebuild install' situations. The file needs to be put into BUILT_PRODUCTS_DIR or lldb's Python interface doesn't work when lldb is built using 'xcodebuild install'. llvm-svn: 257653
* Update cxx_dr_status.html after the 3.8 branchHans Wennborg2016-01-131-1/+1
| | | | llvm-svn: 257652
* don't repeat function names in comments; NFCSanjay Patel2016-01-131-62/+51
| | | | llvm-svn: 257649
* Fix struct/class mismatch for MachineSchedContextHans Wennborg2016-01-131-1/+1
| | | | llvm-svn: 257648
* Demangle symbols when including them in error messages.Rui Ueyama2016-01-137-1/+50
| | | | llvm-svn: 257647
* rangify; NFCISanjay Patel2016-01-131-4/+4
| | | | llvm-svn: 257646
* Avoid undefined behavior in LinkAllPasses.hDimitry Andric2016-01-131-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | The LinkAllPasses.h file is included in several main programs, to force a large number of passes to be linked in. However, the ForcePassLinking constructor uses undefined behavior, since it calls member functions on `nullptr`, e.g.: ((llvm::Function*)nullptr)->viewCFGOnly(); llvm::RGPassManager RGM; ((llvm::RegionPass*)nullptr)->runOnRegion((llvm::Region*)nullptr, RGM); When the optimization level is -O2 or higher, the code below the first nullptr dereference is optimized away, and replaced by `ud2` (on x86). Therefore, the calls after that first dereference are never emitted. In my case, I noticed there was no call to `llvm::sys::RunningOnValgrind()`! Replace instances of dereferencing `nullptr` with either objects on the stack, or regular function calls. Differential Revision: http://reviews.llvm.org/D15996 llvm-svn: 257645
* Fix an issue where scripted commands would not actually print any of their ↵Enrico Granata2016-01-137-1/+82
| | | | | | | | output if an immediate output file was set in the result object via a Python file object Fixes rdar://24130303 llvm-svn: 257644
* don't repeat names in comments ; NFCSanjay Patel2016-01-131-5/+5
| | | | llvm-svn: 257643
* Teach clang-tidy how to upgrade warnings into errors.Jonathan Roelofs2016-01-1310-19/+106
| | | | | | | | | Similar in format to the `-checks=` argument, this new `-warnings-as-errors=` argument upgrades any warnings emitted by the former to errors. http://reviews.llvm.org/D15528 llvm-svn: 257642
* Update version to 3.9Hans Wennborg2016-01-131-1/+1
| | | | llvm-svn: 257629
* Update version to 3.9Hans Wennborg2016-01-132-47/+7
| | | | llvm-svn: 257628
* Update version to 3.9.Hans Wennborg2016-01-136-60/+26
| | | | llvm-svn: 257627
* fix typoSanjay Patel2016-01-131-1/+1
| | | | llvm-svn: 257626
* AMDGPU/SI: Fix a GPU hang with POS_W_FLOAT enabledMarek Olsak2016-01-132-1/+25
| | | | | | | | | | Reviewers: tstellarAMD, arsenm Subscribers: arsenm Differential Revision: http://reviews.llvm.org/D16037 llvm-svn: 257625
* AMDGPU/SI: Add tests for non-void functions and InitialPSInputAddrMarek Olsak2016-01-131-0/+228
| | | | | | | | Reviewers: tstellarAMD, arsenm Differential Revision: http://reviews.llvm.org/D16036 llvm-svn: 257624
* AMDGPU/SI: Remove ending s_endpgm from non-void functionsMarek Olsak2016-01-131-0/+8
| | | | | | | | | | Reviewers: tstellarAMD, arsenm Subscribers: arsenm Differential Revision: http://reviews.llvm.org/D16035 llvm-svn: 257623
* AMDGPU/SI: Add s_waitcnt at the end of non-void functionsMarek Olsak2016-01-134-1/+19
| | | | | | | | | | | | | | Summary: v2: Make ReturnsVoid private, so that I can another 8 lines of code and look more productive. Reviewers: tstellarAMD, arsenm Subscribers: arsenm Differential Revision: http://reviews.llvm.org/D16034 llvm-svn: 257622
* AMDGPU/SI: Add support for non-void functionsMarek Olsak2016-01-136-1/+136
| | | | | | | | | | | | | | | | | | | Summary: Return values can be stored in SGPRs (i32) and VGPRs (f32). This will be used by functions which expect some bytecode or other binary to be appended at the end. It allows defining in which registers the return values will be stored. v2: don't do this for compute shaders Reviewers: tstellarAMD, arsenm Subscribers: arsenm Differential Revision: http://reviews.llvm.org/D16033 llvm-svn: 257621
* [WebAssemly] Invalidate liveness in CFG stackifierDerek Schuff2016-01-131-0/+3
| | | | | | | WebAssemblyCFGStackify does not track liveness for EXPR_STACK, causing verifier failure if liveness has not already been invalidated. llvm-svn: 257620
* [WebAssembly] Enable the builtins library for WebAssembly.Dan Gohman2016-01-132-1/+16
| | | | llvm-svn: 257619
* [WebAssembly] clang supports int128_t on wasm32 in addition to wasm64.Dan Gohman2016-01-131-1/+2
| | | | llvm-svn: 257618
* fix typoSanjay Patel2016-01-131-1/+1
| | | | llvm-svn: 257617
* [lit] Fix handling of per test timeout when the installed psutil versionDan Liew2016-01-131-1/+8
| | | | | | | | | | is < ``2.0``. Older versions of psutil (e.g. ``1.2.1`` which is the version shipped with Ubuntu 14.04) use a different API for retrieving the child processes. To handle this try the new API first and if that fails try the old API. llvm-svn: 257616
* clang-format: [ObjC+JS] Allow bin-packing of array literals.Daniel Jasper2016-01-133-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After reading the style guides again, they don't actually say how to pack or not pack array literals. Based on some user reports, array initializers can unnecessarily get quite long if they contain many small elements. Array literals with trailing commas are still formatted one per line so that users have a way to opt out of the packing. Before: var array = [ aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa ]; After: var array = [ aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa ]; llvm-svn: 257615
* [WebAssembly] Accomodate wasm's 128-bit long double.Dan Gohman2016-01-131-1/+2
| | | | llvm-svn: 257614
* fix typoSanjay Patel2016-01-131-1/+1
| | | | llvm-svn: 257613
* [WebAssembly] Set std::numeric_limits's traps field for WebAssembly.Dan Gohman2016-01-132-2/+4
| | | | | | | WebAssembly's integer division instruction traps on division by zero; set the traps field of integral std::numeric_limits to true. llvm-svn: 257612
OpenPOWER on IntegriCloud