- Mar 19, 2014
-
-
David Majnemer authored
The current state of affairs has auxiliary symbols described as a big bag of bytes. This is less than satisfying, it detracts from the YAML file as being human readable. Instead, allow for symbols to optionally contain their auxiliary data. This allows us to have a much higher level way of describing things like weak symbols, function definitions and section definitions. This depends on D3105. Differential Revision: http://llvm-reviews.chandlerc.com/D3092 llvm-svn: 204214
-
David Majnemer authored
Summary: These definitions are useful to other aspects of LLVM, move them out. Reviewers: rafael, nrieck, ruiu CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3105 llvm-svn: 204213
-
David Majnemer authored
The file violated the coding standard. Make it conform. No functionality change. llvm-svn: 204212
-
Justin Bogner authored
We'll be adding a few more subcommands in the near future. llvm-svn: 204211
-
Justin Bogner authored
This also uses line_iterator to simplify the parsing logic. llvm-svn: 204210
-
Jim Ingham authored
so mark as expected fail. And find another way to check that we hit our constructor breakpoint, so we don't need to expected fail the Disassembly tests. llvm-svn: 204209
-
Jim Ingham authored
constructors with their class name, that seems inessential. We can make another test specifically for this if we want to. llvm-svn: 204208
-
Jim Ingham authored
llvm-svn: 204207
-
Jim Ingham authored
llvm-svn: 204206
-
Rafael Espindola authored
llvm-svn: 204205
-
Pete Cooper authored
When destroying a StringMap, just iterate over the map and destroy the contained elements. Don't reset them back to 0 as their values aren't needed any more. This results in ~StringMap() being mostly empty for POD types in BumpPtrAllocators llvm-svn: 204204
-
Rafael Espindola authored
This reverts commit r204178. llvm-svn: 204203
-
David Blaikie authored
This isn't a complete fix - it falls back to non-comp_dir when multiple compile units are in play. Adding a map of comp_dir to table is part of the more general solution, but I gave up (in the short term) when I realized I'd also have to calculate the size of each type unit so as to produce correct DW_AT_stmt_list attributes. llvm-svn: 204202
-
Eli Bendersky authored
The "noduplicate" function attribute exists to prevent certain optimizations from duplicating calls to the function. This is important on platforms where certain function call duplications are unsafe (for example execution barriers for CUDA and OpenCL). This patch makes it possible to specify intrinsics as "noduplicate" and translates that to the appropriate function attribute. llvm-svn: 204200
-
Rui Ueyama authored
Differential Revision: http://llvm-reviews.chandlerc.com/D3103 llvm-svn: 204199
-
NAKAMURA Takumi authored
llvm-svn: 204198
-
Jim Grosbach authored
llvm-svn: 204197
-
Richard Smith authored
llvm-svn: 204196
-
Duncan P. N. Exon Smith authored
The use_iterator redesign in r203364 introduced an increment past the end of a range in -objc-arc-contract. Added an explicit check for the end of the range. <rdar://problem/16333235> llvm-svn: 204195
-
Jim Grosbach authored
llvm-svn: 204194
-
Joerg Sonnenberger authored
negative shift amounts and/or shifts wider than the type. VAX traps on the former, X86 and other platforms produce incorrect results on the latter. llvm-svn: 204193
-
Jim Grosbach authored
No functional change. llvm-svn: 204192
-
Jim Grosbach authored
When deployment target version information is available, emit it to the target streamer for inclusion in the object file. rdar://11337778 llvm-svn: 204191
-
Jim Grosbach authored
Allow object files to be tagged with a version-min load command for iOS or MacOSX. Teach macho-dump to understand the version-min load commands for testcases. rdar://11337778 llvm-svn: 204190
-
Jim Grosbach authored
llvm-svn: 204189
-
Chandler Carruth authored
for this kind of walk. llvm-svn: 204188
-
Chandler Carruth authored
noise. Original commit log: Replace some dead code with an assert. When I first ported this pass from a loop pass to a function pass I did so in the naive, recursive way. It doesn't actually work, we need a worklist instead. When I switched to the worklist I didn't delete the naive recursion. That recursion was also buggy because it was dead and never really exercised. llvm-svn: 204187
-
Justin Bogner authored
The hash itself is still the number of counters, which isn't all that useful, but this separates the API changes from the actual implementation of the hash and will make it easier to transition to the ProfileData library once it's implemented. llvm-svn: 204186
-
Justin Bogner authored
llvm-svn: 204185
-
Chandler Carruth authored
pass from a loop pass to a function pass I did so in the naive, recursive way. It doesn't actually work, we need a worklist instead. When I switched to the worklist I didn't delete the naive recursion. That recursion was also buggy because it was dead and never really exercised. llvm-svn: 204184
-
Eric Christopher authored
llvm-svn: 204183
-
Joerg Sonnenberger authored
llvm-svn: 204182
-
Richard Smith authored
llvm-svn: 204181
-
Eric Christopher authored
We really do use these things in the header. llvm-svn: 204180
-
Joerg Sonnenberger authored
llvm-svn: 204179
-
Rafael Espindola authored
This reverts commit r204137. This includes a fix for handling aliases of aliases. llvm-svn: 204178
-
Eric Christopher authored
llvm-svn: 204177
-
Eric Christopher authored
llvm-svn: 204176
-
Richard Smith authored
In the presence of modules, we can have multiple implicit instantiations of the same template. Teach RecursiveASTVisitor to visit all of those, not just one of them. This is difficult to test by itself, but will be covered by an upcoming change. llvm-svn: 204175
-
Hans Wennborg authored
For functions where esi is used as base pointer, we would previously fall back from lowering memcpy with "rep movs" because that clobbers esi. With this patch, we just store esi in another physical register, and restore it afterwards. This adds a little bit of register preassure, but the more efficient memcpy should be worth it. Differential Revision: http://llvm-reviews.chandlerc.com/D2968 llvm-svn: 204174
-