- Apr 21, 2016
-
-
Davide Italiano authored
The gold plugin logic for common symbols is a little bit convoluted as the plugin API has not an explicit way to update the alignment. In gold, then, we need to keep the bitcode symbol @a around because that's the only way to get the alignment right in the final object. In lld, this is not true. We already have all the informations we need about common symbols (size/alignment) so we don't have to keep the existing symbol and pass it to the mover. llvm-svn: 267007
-
Philip Reames authored
This builds on 266999 which made FindAvailableValue do the right thing. Tests included show the newly enabled transforms and those which disabled either due to conservatism or correctness requirements. llvm-svn: 267006
-
Rafael Espindola authored
llvm-svn: 267005
-
Amjad Aboud authored
Before this fix, DILexicalBlockFile entries were skipped only in some cases and were not in other cases. Differential Revision: http://reviews.llvm.org/D18724 llvm-svn: 267004
-
Etienne Bergeron authored
Summary: Little cleanup to lift-out and to remove some frequently used ast-matchers. Some of theses matchers are candidates to be lifted to ASTMatchers.h. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19200 llvm-svn: 267003
-
Rafael Espindola authored
It was only used there. llvm-svn: 267002
-
Saleem Abdulrasool authored
expr_log is only conditionally used via preprocessing. Ensure that we guard the definition accordingly. NFC. llvm-svn: 267001
-
Saleem Abdulrasool authored
Add explicit casts for function pointer to void * for %p conversion. NFC. llvm-svn: 267000
-
Philip Reames authored
This change adds a couple of test cases to make sure FindAvailableLoadedValue does the right thing. At the moment, the code added is dead, but separating it makes follow on changes far more obvious. llvm-svn: 266999
-
Chad Rosier authored
llvm-svn: 266998
-
Philip Reames authored
llvm-svn: 266997
-
Rafael Espindola authored
Because of X86 instead of x86 is was masked as unsupported everywhere. llvm-svn: 266996
-
Rafael Espindola authored
We were assuming that only linkonce_odr GVs were lazy linked. llvm-svn: 266995
-
Kuba Brecka authored
The field "pid" in ReportThread is used to store the OS-provided thread ID (pthread_self or gettid). The name "pid" suggests it's a process ID, which it isn't. Let's rename it. Differential Revision: http://reviews.llvm.org/D19365 llvm-svn: 266994
-
Renato Golin authored
llvm-svn: 266993
-
Alexander Kornienko authored
Summary: Clang-tidy modernize-raw-string-literal check crashes on run-time assert while it is evaluating compiler predefined identifiers such as - __FUNCTION__ - __func__ - __PRETTY_FUNCTION__ Check is asserting because it cannot find opening quote for such string literal. It occurs only on debug build config. I think that it would be good to prune such cases by crossing off predefined expressions - there is no need to evaluate such matches. Reviewers: LegalizeAdulthood, alexfh Subscribers: cfe-commits Patch by Marek Jenda! Differential Revision: http://reviews.llvm.org/D19331 llvm-svn: 266992
-
Kuba Brecka authored
Let's use pthread_threadid_np which returns a more reasonable ID than pthread_self (which is actually a stack pointer). The numbers from pthread_threadid_np are already used in other tools, e.g. in LLDB, and often appear in logs, so it's much more useful than pthread_self. Differential Revision: http://reviews.llvm.org/D18951 llvm-svn: 266991
-
Zoran Jovanovic authored
Differential Revision: http://reviews.llvm.org/D15009 llvm-svn: 266990
-
Krzysztof Parzyszek authored
llvm-svn: 266989
-
Zoran Jovanovic authored
Differential Revision: http://reviews.llvm.org/D14915 llvm-svn: 266988
-
Chad Rosier authored
Differential Revision: http://reviews.llvm.org/D19330 llvm-svn: 266987
-
Aaron Ballman authored
Patch by Clement Courbet llvm-svn: 266986
-
Zoran Jovanovic authored
Differential Revision: http://reviews.llvm.org/D14822 llvm-svn: 266985
-
Sam Kolton authored
Reviewers: nhaustov, tstellarAMD Subscribers: arsenm Differential Revision: http://reviews.llvm.org/D19317 llvm-svn: 266984
-
Michael Zuckerman authored
[Clang][AVX512][BuiltIn] Adding intrinsics of VGATHER{DPS|DPD} , VPGATHER{QD|QQ|DD|DQ} and VGATHERPF{0|1}{DPS|QPS|DPD|QPD} instruction set . Differential Revision: http://reviews.llvm.org/D19224 llvm-svn: 266983
-
Rafael Espindola authored
llvm-svn: 266982
-
Rafael Espindola authored
A DenseMap doesn't store the hashes, so it needs to recompute them when the table is resized. In some applications the hashing cost is noticeable. That is the case for example in lld for symbol names (StringRef). This patch adds a templated structure that can wraps any value that can go in a DenseMap and caches the hash. llvm-svn: 266981
-
Zlatko Buljan authored
Differential Revision: http://reviews.llvm.org/D18855 llvm-svn: 266980
-
George Rimar authored
llvm-svn: 266979
-
George Rimar authored
llvm-svn: 266978
-
Zlatko Buljan authored
[mips][microMIPS] Implement LL, SC, MOVEP, ROTR, ROTRV and SYSCALL instructions and add tests for LWM32 and SWM32 Differential Revision: http://reviews.llvm.org/D19150 llvm-svn: 266977
-
Denis Zobnin authored
Quit parsing MS-style inline assembly if the following statement has GCC style. Enables compilation of code like void f() { __asm mov ebx, ecx __asm__("movl %ecx, %edx"); } Differential Revision: http://reviews.llvm.org/D18652 llvm-svn: 266976
-
Benjamin Kramer authored
It breaks on windows, need to investigate. It's not testing the important part of that change anyways. llvm-svn: 266975
-
George Rimar authored
SectionOrder vector was a part of LinkerScript class. It can be removed because Commands vector contains the same information and SectiorOrder is just a subset. Differential revision: http://reviews.llvm.org/D19171 llvm-svn: 266974
-
Benjamin Kramer authored
This allows using a different standard library (the one from argv[0] in the compilation database) with the correct builtins. Differential Revision: http://reviews.llvm.org/D19356 llvm-svn: 266973
-
Andrey Turetskiy authored
Add -miamcu option which: * Sets IAMCU triple * Sets IAMCU ABI * Enforces static compilation Differential Revision: http://reviews.llvm.org/D18398 llvm-svn: 266972
-
Evgeny Astigeevich authored
llvm-svn: 266971
-
Haojian Wu authored
Reviewers: bkramer Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19323 llvm-svn: 266970
-
Evgeny Astigeevich authored
[AArch64][CodeGen] Fix of PR27158: incorrect peephole optimization in AArch64InstrInfo::optimizeCompareInstr AArch64InstrInfo::optimizeCompareInstr has bug PR27158 which causes generation of incorrect code. A compare instruction is substituted with another instruction which does not produce the same flags as the original compare instruction. This patch contains: 1. Fix of the bug. 2. A regression test in MIR. 3. A new test to check that SUBS is replaced by SUB. Differential Revision: http://reviews.llvm.org/D18838 llvm-svn: 266969
-
Craig Topper authored
llvm-svn: 266968
-