- Jul 27, 2017
-
-
George Rimar authored
llvm-svn: 309254
-
George Rimar authored
That is slightly more convinent as allows to store pointer on program header entry in a more safe way. Change was used in 2 patches currently on review. Differential revision: https://reviews.llvm.org/D35832 llvm-svn: 309253
-
George Rimar authored
This is PR32112. Previously when we linked executable with --unresolved-symbols=ignore-all and undefined symbols, like: _start: callq und@PLT we did not create relocations, though it looks in that case we should delegate handling of such symbols to runtime linker, hence should emit them. Patch fixes that. Differential revision: https://reviews.llvm.org/D35724 llvm-svn: 309252
-
Petr Hosek authored
This change is failing tests on Windows bots due to permissions. This reverts commit r309249. llvm-svn: 309251
-
Nitesh Jain authored
Subscribers: jaydeep, bhushan, lldb-commits, slthakur llvm-svn: 309250
-
Petr Hosek authored
As discussed on llvm-dev I've implemented the first basic steps towards llvm-objcopy/llvm-objtool (name pending). This change adds the ability to copy (without modification) 64-bit little endian ELF executables that have SHT_PROGBITS, SHT_NOBITS, SHT_NULL and SHT_STRTAB sections. Patch by Jake Ehrlich Differential Revision: https://reviews.llvm.org/D33964 llvm-svn: 309249
-
Craig Topper authored
This patch improves our guessing of unknown Intel CPUs to support Goldmont and skylake-avx512. Differential Revision: https://reviews.llvm.org/D35161 llvm-svn: 309246
-
Vedant Kumar authored
This should simplify D35925. llvm-svn: 309245
-
Vedant Kumar authored
llvm-svn: 309244
-
Aditya Nandakumar authored
llvm-svn: 309243
-
Eric Beckmann authored
libxml2 is supported for 32 bit, so our build system should be checking the target rather than native os when choosing shared libs. llvm-svn: 309242
-
Eric Beckmann authored
llvm-svn: 309241
-
Spyridoula Gravani authored
llvm-svn: 309240
-
Rui Ueyama authored
We did the same thing for ELF in r309152, and I want to maintain COFF and ELF as close as possible. llvm-svn: 309239
-
Jim Ingham authored
Patch by Jessica Han <jessicah@juniper.net> https://reviews.llvm.org/D35525 llvm-svn: 309238
-
David Blaikie authored
DebugInfo: Ensure imported entities at the top level of an inlined function don't cause degenerate concrete definitions Local imported entities at the top level of a subprogram were being handled differently from those in nested scopes - that different handling would cause pseudo concrete out-of-line definitions to be created (but without any of their attributes, nor an abstract_origin) in the case where there was no real concrete definition. These local imported entities also only appeared in the concrete definition where those imported entities in nested scopes appear in all cases (abstract, concrete, and inlined). This change at least makes top level case handle the same as the others - though there's a FIXME to improve this to /only/ emit them into the abstract origin (though this requires more plumbing - like the abstract subprogram and variable handling that must defer population until the end of the unit to discover if there is an abstract origin, or only a standalone concrete definition). llvm-svn: 309237
-
Eugene Zelenko authored
llvm-svn: 309236
-
Petr Hosek authored
-Werror may cause some of the CMake checks to fail, so we disable it even if it's enabled for the build itself. Differential Revision: https://reviews.llvm.org/D35924 llvm-svn: 309235
-
Rafael Espindola authored
This shows that the logic in --gc-sections is a bit more precise than what can be easily done in LTO. llvm-svn: 309234
-
Eugene Zelenko authored
llvm-svn: 309233
-
Rafael Espindola authored
With this we only ask LTO to keep a C named section if there is a __start_ or __end symbol. This is not as strict as lld's --gc-sections, but is as good as we can get without having a far more detailed ir summary. llvm-svn: 309232
-
Nico Weber authored
Matches link.exe https://reviews.llvm.org/D35872 llvm-svn: 309231
-
Eugene Zelenko authored
[Hexagon] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC). llvm-svn: 309230
-
Eric Beckmann authored
llvm-svn: 309229
-
Rui Ueyama authored
llvm-svn: 309228
-
Reid Kleckner authored
Previously these tests would use the same Output directory leading to flaky non-deterministic failures. llvm-svn: 309227
-
Saleem Abdulrasool authored
Ensure that we define the `_Unwind_Control_Block` structure used on ARM EHABI targets. This is needed for building libc++abi with the unwind.h from the resource dir. A minor fallout of this is that we needed to create a typedef for _Unwind_Exception to work across ARM EHABI and non-EHABI targets. The structure definitions here are based originally on the documentation from ARM under the "Exception Handling ABI for the ARM® Architecture" Section 7.2. They are then adjusted to more closely reflect the definition in libunwind from LLVM. Those changes are compatible in layout but permit easier use in libc++abi and help maintain compatibility between libunwind and the compiler provided definition. llvm-svn: 309226
-
Rafael Espindola authored
It is __stop_<sec>, not __end_<sec>. llvm-svn: 309225
-
Reid Kleckner authored
Rewrite the write-to-stderr.sh and write-to-stdout-and-stderr.sh shell scripts as python scripts and call python on them. Fixes PR33940 llvm-svn: 309200
-
Rui Ueyama authored
Rename it because it was too easy to conflict with llvm::object::ObjectFile which broke buildbots several times. llvm-svn: 309199
-
Reid Kleckner authored
Fixes PR33938 llvm-svn: 309198
-
Michael Kruse authored
A region statement's instruction list is always empty and ignored by the code generator. Don't give the impression that it means anything. llvm-svn: 309197
-
Michael Kruse authored
The instruction list is ignored for region statements, there is no reason to set it. llvm-svn: 309196
-
Richard Smith authored
The initializer for a static local variable cannot be hot, because it runs at most once per program. That's not quite the same thing as having a low branch probability, but under the assumption that the function is invoked many times, modeling this as a branch probability seems reasonable. For TLS variables, the situation is less clear, since the initialization side of the branch can run multiple times in a program execution, but we still expect initialization to be rare relative to non-initialization uses. It would seem worthwhile to add a PGO counter along this path to make this estimation more accurate in future. For globals with guarded initialization, we don't yet apply any branch weights. Due to our use of COMDATs, the guard will be reached exactly once per DSO, but we have no idea how many DSOs will define the variable. llvm-svn: 309195
-
Reid Kleckner authored
Fixes PR33932 llvm-svn: 309194
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D35900 llvm-svn: 309193
-
Hiroshi Yamauchi authored
llvm-svn: 309192
-
Meador Inge authored
This patch fixes a small issue with respect to how memory region names are parsed on output section descriptions. For example, consider: .text : { *(.text) } > rom That can also be written like: .text : { *(.text) } >rom The latter form is accepted by GNU LD and is fairly common. Differential Revision: https://reviews.llvm.org/D35920 llvm-svn: 309191 -
Reid Kleckner authored
This passes locally for me, which fails the overall lit test suite. I can't debug a passing test, but I will try to help debug the test when we get some failing logs. llvm-svn: 309190
-
Eric Beckmann authored
variable before each search so that they don't conflict. llvm-svn: 309189
-