- Feb 01, 2017
-
-
Jason Molenda authored
Mac OS X 10.11, El Capitan, released c. Oct 2015) I conditionalized the use of the framework on "if sdk == macosx 10.11". But since macOS 10.12 has shipped this year, the framework was no longer being built in. I can either start listing every OS 10.11 and newer, or remove the version check. This will break building lldb with xcodebuild / Xcode for people running Mac OS X 10.10 or older. If so, I'll back this change out. I'm not sure if we have many people working on macs running the older OSes on their build systems. <rdar://problem/30159130> llvm-svn: 293742
-
Justin Bogner authored
This basically already worked other than weak symbols needing definitions on darwin. llvm-svn: 293741
-
Richard Smith authored
Contrary to the comment, DeclContext intends to guarantee that the lookup results for a particular name will be stable across non-AST-mutating operations, so a copy here should not be necessary. Further, if a copy *is* necessary, the other four instances of this pattern within this file would also be wrong, and we have no evidence of any problems with them; if this change unearths problems, we should fix all the instances of this pattern. llvm-svn: 293740
-
Evandro Menezes authored
This feature enables the fusion of such operations on Cortex A57, as recommended in its Software Optimisation Guide, sections 4.14 and 4.15. Differential revision: https://reviews.llvm.org/D28698 llvm-svn: 293739
-
Evandro Menezes authored
This feature enables the fusion of such operations on Cortex A57, as recommended in its Software Optimisation Guide, section 4.13, and on Exynos M1. Differential revision: https://reviews.llvm.org/D28491 llvm-svn: 293738
-
Evandro Menezes authored
This patch moves the class for scheduling adjacent instructions, MacroFusion, to the target. In AArch64, it also expands the fusion to all instructions pairs in a scheduling block, beyond just among the predecessors of the branch at the end. Differential revision: https://reviews.llvm.org/D28489 llvm-svn: 293737
-
Sanjoy Das authored
Summary: isSuitableMemoryOp method is repsonsible for verification that instruction is a candidate to use in implicit null check. Additionally it checks that base register is not re-defined before. In case base has been re-defined it just returns false and lookup is continued while any suitable instruction will not succeed this check as well. This results in redundant further operations. So when we found that base register has been re-defined we just stop. Patch by Serguei Katkov! Reviewers: reames, sanjoy Reviewed By: sanjoy Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29119 llvm-svn: 293736
-
Hans Wennborg authored
llvm-svn: 293735
-
Justin Bogner authored
This works as of "Support sanitizer guard section on darwin" in the llvm repo. llvm-svn: 293734
-
Justin Bogner authored
MachO's sections need a segment as well as a section name, and the section start and end symbols are spelled differently than on ELF. llvm-svn: 293733
-
Hans Wennborg authored
clang-cl would evaluate the arguments right-to-left (see PR), and for non-Windows targets I suppose we only got it because we were already emitting left-to-right in CodeGenFunction::EmitCallArgs. Differential Revision: https://reviews.llvm.org/D29350 llvm-svn: 293732
-
Marcos Pividori authored
After this commint, we can include sancov_flags.h and refer to __sancov_default_options without requiring the namespace prefix. Differential Revision: https://reviews.llvm.org/D29167 llvm-svn: 293731
-
Matthias Braun authored
Differential Revision: https://reviews.llvm.org/D29315 llvm-svn: 293730
-
Eugene Zelenko authored
llvm-svn: 293729
-
Stanislav Mekhanoshin authored
SplitEditor::defFromParent() can create a register copy. If register is a tuple of other registers and not all lanes are used a copy will be done on a full tuple regardless. Later register unit for an unused lane will be considered free and another overlapping register tuple can be assigned to a different value even though first register is live at that point. That is because interference only look at liveness info, while full register copy clobbers all lanes, even unused. This patch fixes copy to only cover used lanes. Differential Revision: https://reviews.llvm.org/D29105 llvm-svn: 293728
-
Davide Italiano authored
Differential Revision: https://reviews.llvm.org/D29360 llvm-svn: 293727
-
Matt Arsenault authored
Use a more specific subtarget check and combine hasOneUse checks llvm-svn: 293726
-
Dean Michael Berris authored
This change should appease the mingw32 builds. Follow-up to D29319. llvm-svn: 293725
-
George Rokos authored
This is the patch upstreaming the plugins part of libomptarget (CUDA, generic-elf-64). Differential Revision: https://reviews.llvm.org/D14253 llvm-svn: 293724
-
Matt Arsenault authored
This fails to handle some cases where one of the inputs is a constant to be fixed in a later commit. llvm-svn: 293723
-
Kostya Serebryany authored
llvm-svn: 293722
-
Dean Michael Berris authored
Summary: This change implements the instrumentation map loading library which can understand both YAML-defined instrumentation maps, and ELF 64-bit object files that have the XRay instrumentation map section. We break it out into a library on its own to allow for other applications to deal with the XRay instrumentation map defined in XRay-instrumented binaries. This type provides both raw access to the logical representation of the instrumentation map entries as well as higher level functions for converting a function ID into a function address. At this point we only support ELF64 binaries and YAML-defined XRay instrumentation maps. Future changes should extend this to support 32-bit ELF binaries, as well as other binary formats (like MachO). As part of this change we also migrate all uses of the extraction logic that used to be defined in tools/llvm-xray/ to use this new type and interface for loading from files. We also remove the flag from the `llvm-xray` tool that required users to specify the type of the instrumentation map file being provided to instead make the library auto-detect the file type. Reviewers: dblaikie Subscribers: mgorny, varno, llvm-commits Differential Revision: https://reviews.llvm.org/D29319 llvm-svn: 293721
-
Matt Arsenault authored
llvm-svn: 293720
-
Matt Arsenault authored
llvm-svn: 293719
-
Matt Arsenault authored
llvm-svn: 293718
-
Matt Arsenault authored
llvm-svn: 293717
-
Kyle Butt authored
When choosing the best successor for a block, ordinarily we would have preferred a block that preserves the CFG unless there is a strong probability the other direction. For small blocks that can be duplicated we now skip that requirement as well, subject to some simple frequency calculations. Differential Revision: https://reviews.llvm.org/D28583 llvm-svn: 293716
-
Rafael Espindola authored
llvm-svn: 293715
-
Pavel Labath authored
Summary: Problem: There are three filelds in the ELF header - e_phnum, e_shnum, and e_shstrndx - that could be bigger than 64K and therefore do not fit in 16 bits reserved for them in the header. If this happens, pretty often there is a special section at index 0 which contains their real values for these fields in the section header in the fields sh_info, sh_size, and sh_link respectively. Fix: - Rename original fields in the header declaration. We want to have them around just in case. - Reintroduce these fields as 32-bit members at the end of the header. By default they are initialized from the header in Parse() method. - In Parse(), detect the situation when the header might have been extended into section info #0 and try to read it from the same data source. - ObjectFileELF::GetModuleSpecifications accesses some of these fields but the original parse uses too small data source. Re-parse the header if necessary using bigger data source. - ProcessElfCore::CreateInstance uses header with potentially sentinel values, but it does not access these fields, so a comment here is enough. Reviewers: labath Reviewed By: labath Subscribers: davidb, lldb-commits, mgorny Differential Revision: https://reviews.llvm.org/D29095 Author: Eugene Birukov <eugenebi@hotmail.com> llvm-svn: 293714
-
Justin Lebar authored
x*rsqrt(x) returns NaN for x == 0, whereas 1/rsqrt(x) returns 0, as desired. Verified that the particular nvptx approximate instructions here do in fact return 0 for x = 0. llvm-svn: 293713
-
Rafael Espindola authored
llvm-svn: 293712
-
Marcos Pividori authored
We ignore `__ubsan_handle_dynamic_type_cache_miss*` symbols when `SANITIZER_CAN_USE_CXXABI` is true. Because they are included in the library but they are not included in the interface lists. llvm-svn: 293711
-
Marcos Pividori authored
The test was failing because we export the functions: "__sanitizer_mz*" but they are not included in the general interface lists. Also, weak undefined symbols are tagged with U by `nm -g` on Darwin. Differential Revision: https://reviews.llvm.org/D29345 llvm-svn: 293710
-
Michael Kuperstein authored
Technically, this is actually changes the expression and the original assert was "wrong", but since the conjunction is with true, it doesn't matter in this case. llvm-svn: 293709
-
Daniel Berlin authored
llvm-svn: 293708
-
Daniel Berlin authored
llvm-svn: 293707
-
Daniel Berlin authored
llvm-svn: 293706
-
Daniel Berlin authored
llvm-svn: 293705
-
Daniel Berlin authored
llvm-svn: 293704
-
Daniel Berlin authored
llvm-svn: 293703
-