- Apr 29, 2015
-
-
David Blaikie authored
[opaque pointer type] Pass GlobalAlias the actual pointer type rather than decomposing it into pointee type + address space Many of the callers already have the pointer type anyway, and for the couple of callers that don't it's pretty easy to call PointerType::get on the pointee type and address space. This avoids LLParser from using PointerType::getElementType when parsing GlobalAliases from IR. llvm-svn: 236160
-
Nico Weber authored
llvm-svn: 236159
-
Rafael Espindola authored
llvm-svn: 236158
-
Rafael Espindola authored
There is no need to first accumulate it in fragments. llvm-svn: 236157
-
Sanjay Patel authored
llvm-svn: 236156
-
Richard Smith authored
llvm-svn: 236155
-
Ed Schouten authored
We currently only include <link.h> on CloudABI and Linux. We can enable it on FreeBSD as well, as it also supports the dl_iterate_phdr() function that's provided by <link.h>. FreeBSD, however, does not provide the ElfW() macro. Instead, the host-specific ELF datastructures are named just Elf_XXX in addition to the host-independent Elf32_XXX and Elf64_XXX types. Differential Revision: http://reviews.llvm.org/D8169 Approved by: emaste llvm-svn: 236154
-
Rafael Espindola authored
This avoids having to compute the number upfront, which will be used in the next patch. llvm-svn: 236153
-
Alexey Samsonov authored
* Remove __ubsan_default_options, so that test would work on Darwin * Fix unintentional undefined behavior in the code (missing return) * Build the test with -fno-sanitize-recover to distinguish expected failures and expected passes by return code. llvm-svn: 236152
-
Alexey Samsonov authored
llvm-svn: 236151
-
Sanjay Patel authored
llvm-svn: 236150
-
Davide Italiano authored
llvm-svn: 236149
-
Rafael Espindola authored
There is no need to accumulate it in fragments first. llvm-svn: 236148
-
Sanjay Patel authored
llvm-svn: 236147
-
Douglas Katzman authored
Mostly copy-and-paste from Sparc v8 architecture. Differential Revision: http://reviews.llvm.org/D8741 llvm-svn: 236146
-
Rafael Espindola authored
Instead of accumulating the content in a fragment first, just write it to the output stream. Also put it first in the section table, so that we never have to worry about its index being >= SHN_LORESERVE. llvm-svn: 236145
-
Jon Roelofs authored
http://reviews.llvm.org/D8787 llvm-svn: 236144
-
Manman Ren authored
No functionality change. llvm-svn: 236143
-
Richard Smith authored
emitted as a memcpy. llvm-svn: 236142
-
Rafael Espindola authored
llvm-svn: 236141
-
Tim Northover authored
There's probably no way to test BXJ, but if the compiler ever did emit it during CodeGen it would have to be a block terminator so "isBranch" is appropriate. BLX is more tricky. Clearly a call, but it affects surprisingly little. rdar://18719544 llvm-svn: 236140
-
Douglas Katzman authored
Differential Revision: http://reviews.llvm.org/D9263 llvm-svn: 236139
-
Chaoren Lin authored
llvm-svn: 236138
-
Douglas Katzman authored
Differential Revision: http://reviews.llvm.org/D9087 llvm-svn: 236137
-
Chaoren Lin authored
llvm-svn: 236136
-
Ahmed Bougacha authored
Partial revert of r235961; the test still fails on Green Dragon bots. llvm-svn: 236135
-
Richard Smith authored
llvm-svn: 236134
-
Chaoren Lin authored
llvm-svn: 236133
-
Chaoren Lin authored
Summary: NativeProcessProtocol uses ReadMemory internally for setting/checking breakpoints but also for generic memory reads (Handle_m), this change adds a ReadMemoryWithoutTrap for that purpose. Also fixes a bunch of misuses of addr_t as size/length. Test Plan: `disassemble` no longer shows the trap code. Reviewers: jingham, vharron, clayborg Reviewed By: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9330 llvm-svn: 236132
-
Zoran Jovanovic authored
Differential Revision: http://reviews.llvm.org/D8894 llvm-svn: 236131
-
Dmitry Vyukov authored
llvm-svn: 236130
-
Andrew Kaylor authored
llvm-svn: 236129
-
Reid Kleckner authored
Basic __finally blocks don't cause linker errors anymore (although they are miscompiled). llvm-svn: 236128
-
Duncan P. N. Exon Smith authored
Ran the same rename-md-di-prefix.sh script attached to PR23080 as in LLVM r236120 and CFE r236121. llvm-svn: 236127
-
Reid Kleckner authored
llvm-svn: 236126
-
Adrian Prantl authored
and as artificial local variables in the debug info. This is a follow-up to r236059. We can't get rid of the local variables entirely because the gdb buildbot depends on them, but we can mark them as artificial while still emitting the correct debug info. As I learned from review comments other compilers also follow this model. A paired commit in LLVM temporarily relaxes the debug info verifier to not check the integrity of DW_OP_bit_pieces of artificial variables. rdar://problem/20730771 llvm-svn: 236125
-
Adrian Prantl authored
The clang frontend helps out GDB by emitting the members of local anonymous unions as artificial local variables with shared storage. When SROA splits the storage for artificial local variables that are smaller than the entire union, the overhang piece will be outside of the allotted space for the variable and this check fails. rdar://problem/20730771 llvm-svn: 236124
-
Reid Kleckner authored
x86 Windows uses the '_' prefix for all global symbols, and this was mistakenly being applied to frameescape labels, which are not externally visible global symbols. They use the private global prefix 'L'. The *right* way to fix this is probably to stop masquerading this label as an ExternalSymbol and create a new SDNode type. These labels are not "external", and we know they will be resolved by assembly time. Having a custom SDNode type would allow us to do better X86 address mode matching, so it's probably worth doing eventually. llvm-svn: 236123
-
Andrey Churbanov authored
These are the actual changes in the runtime to issue OMPT-related functions. All of them are surrounded by #if OMPT_SUPPORT and can be disabled (which is the default). llvm-svn: 236122
-
Duncan P. N. Exon Smith authored
LLVM r236120 renamed debug info IR constructs to use a `DI` prefix, now that the `DIDescriptor` hierarchy has been gone for about a week. This commit was generated using the rename-md-di-nodes.sh upgrade script attached to PR23080, followed by running clang-format-diff.py on the `lib/` portion of the patch. llvm-svn: 236121
-