- Sep 24, 2016
-
-
Evgeniy Stepanov authored
This test is very flaky on PPC64 (both BE and LE), but not on other platforms. llvm-svn: 282315
-
Chris Bieneman authored
Summary: This alters the generation of LLDB_REVISION to be heavily based on how clang generates its version header. There are two benefits of this aproach. (1) The LLDB_REVISION is generated at build time, so it will be updated after an SCM pull/update even if CMake doesn't re-run (2) This works on Windows As noted this code is a simplified implementation of the code from clang. Reviewers: tfiala, zturner Subscribers: beanz, mgorny, lldb-commits Differential Revision: https://reviews.llvm.org/D24846 llvm-svn: 282314
-
Peter Collingbourne authored
llvm-svn: 282313
-
Sanjay Patel authored
This is similar to: https://reviews.llvm.org/rL279958 By not prematurely lowering to loads, we should be able to more easily eliminate the 'or' with zero instructions seen in copysign-constant-magnitude.ll. We should also be able to extend this code to handle vectors. llvm-svn: 282312
-
Jim Ingham authored
llvm-svn: 282311
-
Enrico Granata authored
llvm-svn: 282310
-
Zachary Turner authored
This was in some code that was #ifdef'd out on Windows, so I didn't see it. llvm-svn: 282309
-
Teresa Johnson authored
This should fix the android build in this bot: http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-buildserver/builds/11143 llvm-svn: 282308
-
Rui Ueyama authored
llvm-svn: 282307
-
Zachary Turner authored
llvm-svn: 282306
-
Rui Ueyama authored
Differential Revision: https://reviews.llvm.org/D24882 llvm-svn: 282305
-
Vedant Kumar authored
This reverts commit r282294. It breaks a Linux bot: http://lab.llvm.org:8011/builders/clang-cmake-aarch64-42vma/builds/12180 It looks like the test checks that __llvm_profile_set_filename() alters the raw profile filename in both the dylib and the main program. Now that lprofCurFilename is hidden, this can't work, and we get two profiles (one for the call to "main" and one for "func"). Back this change out so that we don't affect external users. llvm-svn: 282304
-
Petr Hosek authored
These directives are already supported by GNU assembler. Differential Revision: https://reviews.llvm.org/D24740 llvm-svn: 282303
-
Matthias Braun authored
Differential Revision: https://reviews.llvm.org/D23089 llvm-svn: 282302
-
Peter Collingbourne authored
llvm-svn: 282301
-
Saleem Abdulrasool authored
These data and text symbols were missing annotations for building with hidden visibility. As we do not currently enable hidden visibility by default, this is a NFC for the buildbots. llvm-svn: 282300
-
Peter Collingbourne authored
The NativeObjectOutput class has a design problem: it mixes up the caching policy with the interface for output streams, which makes the client-side code hard to follow and would for example make it harder to replace the cache implementation in an arbitrary client. This change separates the two aspects by moving the caching policy to a separate field in Config, replacing NativeObjectOutput with a NativeObjectStream class which only deals with streams and does not need to be overridden by most clients and introducing an AddFile callback for adding files (e.g. from the cache) to the link. Differential Revision: https://reviews.llvm.org/D24622 llvm-svn: 282299
-
Francis Ricci authored
Summary: The current implementation of the test suite allows the user to run a certain subset of tests using '-p', but does not allow the inverse, where a user wants to run all but some number of known failing tests. Implement this functionality. Reviewers: labath, zturner, tfiala Subscribers: jingham, sas, lldb-commits Differential Revision: https://reviews.llvm.org/D24629 llvm-svn: 282298
-
Enrico Granata authored
llvm-svn: 282297
-
Valery Pykhtin authored
Differential revision: https://reviews.llvm.org/D24875 llvm-svn: 282296
-
Rafael Espindola authored
Fixes pr30465. llvm-svn: 282295
-
Vedant Kumar authored
Differential Revision: https://reviews.llvm.org/D24885 llvm-svn: 282294
-
Alexander Shaposhnikov authored
The class BodyFarm creates bodies for OSAtomicCompareAndSwap*, objc_atomicCompareAndSwap*, dispatch_sync*, dispatch_once* and for them the flag isBodyAutosynthesized is set to true. This diff 1. makes AnalysisConsumer::HandleCode skip the autosynthesized code 2. replaces assert(LCtx->getParent()) in RetainCountChecker::checkEndFunction by assert(!LCtx->inTopFrame()) (minor cleanup) Test plan: make -j8 check-clang-analysis Differential revision: https://reviews.llvm.org/D24792 llvm-svn: 282293
-
Kostya Serebryany authored
[libFuzzer] first steps in adding a proper automated test suite based on real-life code: add a script to build RE2 at a revision that has known bugs llvm-svn: 282292
-
Teresa Johnson authored
Summary: Currently, a linker option must be used to control the backend parallelism of ThinLTO. The linker option varies depending on the linker (e.g. gold vs ld64). Add a new clang option -flto-jobs=N to control this. I've added in the wiring to pass this to the gold plugin. I also added in the logic to pass this down in the form I understand that ld64 uses on MacOS, for the darwin target. Reviewers: mehdi_amini, dexonsmith Subscribers: mehdi_amini, cfe-commits Differential Revision: https://reviews.llvm.org/D24826 llvm-svn: 282291
-
Teresa Johnson authored
Summary: As suggested in D24826, use different options for ThinLTO backend parallelism from the option controlling regular LTO code gen parallelism. They are already split in the LTO API, and this enables controlling them with different clang options. Reviewers: pcc, mehdi_amini Subscribers: dexonsmith, llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D24873 llvm-svn: 282290
-
Renato Golin authored
This reverts commit r282259, as it broke the AArch64 test-suite bots. llvm-svn: 282289
-
Vedant Kumar authored
llvm-svn: 282287
-
Vedant Kumar authored
llvm-svn: 282286
-
Rafael Espindola authored
We were counting the size of the bss section holding common symbols twice: Dot += CurOutSec->getSize(); flush(); The new code is also simpler as now flush is the only function that inserts in AlreadyOutputOS, which makes sense since the set hold fully output sections. llvm-svn: 282285 -
Kostya Serebryany authored
llvm-svn: 282284
-
Petr Hosek authored
These directives are already supported by GNU assembler. Differential Revision: https://reviews.llvm.org/D24741 llvm-svn: 282283
-
Vedant Kumar authored
... so that they don't show up in the index. This came up because polly contains a .git directory and some other unmapped input in its source dir. llvm-svn: 282282
-
Vedant Kumar authored
We used to append filenames into a vector of std::string, and then append a reference to each string into a separate vector. This made it easier to work with the getUniqueSourceFiles API. But it's buggy. std::string has a small-string optimization, so you can't expect to capture a reference to one if you're copying it into a growing vector. Add a test that triggers this invalid reference to std::string scenario, and kill the issue with fire by just using ArrayRef<std::string> everywhere. llvm-svn: 282281
-
Vedant Kumar authored
llvm-svn: 282280
-
Davide Italiano authored
If we pass --gc-sections to lld and .tbss is not referenced, the section is reclaimed and lld doesn't create a TLS program header. R_TLS tries to access the program header -> lld crashes. Mimic what bfd/gold do in this case and resolve a weak undefined TLS symbol to the base of the TLS block, i.e. give it a value of zero. Differential Revision: https://reviews.llvm.org/D24832 llvm-svn: 282279
-
Sanjay Patel authored
We crash in LibCallSimplifier if we don't check the validity of the function signature properly. llvm-svn: 282278
-
Zachary Turner authored
llvm-svn: 282277
-
Quentin Colombet authored
NFC llvm-svn: 282276
-
Quentin Colombet authored
As the development of GlobalISel move forward, this statistic should strictly decrease until it reaches zero. At this point, it would mean GlobalISel can replace SDISel (at least on the tested inputs :P). llvm-svn: 282275
-