- Mar 18, 2014
-
-
Alexey Samsonov authored
llvm-svn: 204139
-
NAKAMURA Takumi authored
llvm-svn: 204138
-
Alexander Kornienko authored
The revision I'm reverting breaks handling of transitive aliases. This blocks us and breaks sanitizer bootstrap: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/2651 (and checked locally by Alexey). This revision is the result of: svn merge -r204059:204058 -r204028:204027 -r203962:203961 . + the regression test added to test/MC/ELF/alias.s Another way to reproduce the regression with clang: $ cat q.c void a1(); void a2() __attribute__((alias("a1"))); void a3() __attribute__((alias("a2"))); void a1() {} $ ~/work/llvm-build/bin/clang-3.5-good -c q.c && mv q.o good.o && \ ~/work/llvm-build/bin/clang-3.5-bad -c q.c && mv q.o bad.o && \ objdump -t good.o bad.o good.o: file format elf64-x86-64 SYMBOL TABLE: 0000000000000000 l df *ABS* 0000000000000000 q.c 0000000000000000 l d .text 0000000000000000 .text 0000000000000000 l d .data 0000000000000000 .data 0000000000000000 l d .bss 0000000000000000 .bss 0000000000000000 l d .comment 0000000000000000 .comment 0000000000000000 l d .note.GNU-stack 0000000000000000 .note.GNU-stack 0000000000000000 l d .eh_frame 0000000000000000 .eh_frame 0000000000000000 g F .text 0000000000000006 a1 0000000000000000 g F .text 0000000000000006 a2 0000000000000000 g F .text 0000000000000006 a3 bad.o: file format elf64-x86-64 SYMBOL TABLE: 0000000000000000 l df *ABS* 0000000000000000 q.c 0000000000000000 l d .text 0000000000000000 .text 0000000000000000 l d .data 0000000000000000 .data 0000000000000000 l d .bss 0000000000000000 .bss 0000000000000000 l d .comment 0000000000000000 .comment 0000000000000000 l d .note.GNU-stack 0000000000000000 .note.GNU-stack 0000000000000000 l d .eh_frame 0000000000000000 .eh_frame 0000000000000000 g F .text 0000000000000006 a1 0000000000000000 g F .text 0000000000000006 a2 0000000000000000 g .text 0000000000000000 a3 llvm-svn: 204137
-
Alexey Bataev authored
llvm-svn: 204135
-
Renato Golin authored
llvm-svn: 204134
-
NAKAMURA Takumi authored
llvm-svn: 204132
-
Evgeniy Stepanov authored
Not only is it slower than the alternative, but also subtly broken. This commit does not change the default behavior. llvm-svn: 204131
-
Alon Mishne authored
Also changes the iterators to return actual DI type over MDNode. llvm-svn: 204130
-
Viktor Kutuzov authored
llvm-svn: 204129
-
Evgeniy Stepanov authored
Google is re-licensing this code under the standard dual license of compiler-rt. llvm-svn: 204128
-
Dmitry Vyukov authored
llvm-svn: 204127
-
Dmitry Vyukov authored
still experimental llvm-svn: 204126
-
Evgeniy Stepanov authored
llvm-svn: 204125
-
Dmitry Vyukov authored
llvm-svn: 204124
-
Craig Topper authored
[C++11] Mark the target fast isel classes as 'final' so that the compiler can de-virtualize some of the internal calls. llvm-svn: 204123
-
Alexey Samsonov authored
llvm-svn: 204122
-
NAKAMURA Takumi authored
llvm-svn: 204121
-
Alexey Samsonov authored
[C++11] Change the interface of getCOFF{Section,Relocation,Symbol} to make it work with range-based for loops. Reviewers: ruiu Reviewed By: ruiu CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3097 llvm-svn: 204120 -
Dmitry Vyukov authored
llvm-svn: 204119
-
NAKAMURA Takumi authored
V_CNDMASK_B32_e64 v0, v0, -1.#QNAN0e+00, s[2:3], 0, 0, 0, 0 FIXME: We really need to implement our formatter... llvm-svn: 204118
-
NAKAMURA Takumi authored
llvm-svn: 204117
-
NAKAMURA Takumi authored
llvm-svn: 204116
-
Kostya Serebryany authored
llvm-svn: 204115
-
Saleem Abdulrasool authored
Add an assertion that a valid section is referenced. The potential NULL pointer dereference was identified by the clang static analyzer. llvm-svn: 204114
-
Peter Collingbourne authored
This checks that parameters named in comments that appear before arguments in function and constructor calls match the parameter name used in the callee's declaration. For example: void f(int x, int y); void g() { f(/*y=*/0, /*z=*/0); } contains two violations of the policy, as the names 'x' and 'y' used in the declaration do not match names 'y' and 'z' used at the call site. I think there is significant value in being able to check/enforce this policy as a way of guarding against accidental API misuse and silent breakages caused by API changes. Although this pattern appears somewhat frequently in the LLVM codebase, this policy is not prescribed by the LLVM coding standards at the moment, so it lives under 'misc'. Differential Revision: http://llvm-reviews.chandlerc.com/D2914 llvm-svn: 204113 -
Saleem Abdulrasool authored
The standard JIT has been discarded in favour of MCJIT. USE_STANDARD_JIT is no longer defined. Furthermore, the execution engine is now built in IRExecutionUnit. Simply remove inclusion of both JIT headers. llvm-svn: 204112
-
Saleem Abdulrasool authored
Update gitignore to ignore additional temporary files and format more similar to LLVM's .gitignore. llvm-svn: 204111
-
Saleem Abdulrasool authored
Multichar constants are not portable as the byte order is undefined. Use a constant value instead. This avoids a warning when compiling with gcc 4.8+ (-Wmultichar) and makes the code more portable. llvm-svn: 204110
-
Peter Collingbourne authored
llvm-svn: 204109
-
Richard Smith authored
llvm-svn: 204108
-
Adrian Prantl authored
This is a follow-up to r203983 based on feedback from dblaikie and mren (Thanks!) No functionality change. llvm-svn: 204107
-
Adrian Prantl authored
This allows us to catch more opportunities for ODR-based type uniquing during LTO. Paired commit with CFE which updates some testcases to verify the new DIBuilder behavior. llvm-svn: 204106
-
Adrian Prantl authored
store DIRefs to their types for improved type uniquing. llvm-svn: 204105
-
Adrian Prantl authored
llvm-svn: 204104
-
Eric Christopher authored
llvm-svn: 204103
-
Eric Christopher authored
No functional change. llvm-svn: 204102
-
David Blaikie authored
DebugInfo: Avoid emitting standard opcode lengths in debug_line.dwo headers where opcodes are never used anyway Introduce a slightly tighter wrapper around the header structure that handles this use case. (MCDwarfDwoLineTable) llvm-svn: 204101
-
Richard Smith authored
template specialization (from different modules), dump them all, so that every declaration is dumped somewhere. llvm-svn: 204100
-
David Blaikie authored
This removes an attribute (and more importantly, a relocation) from skeleton type units and removes some unnecessary file names from the debug_line section that remains in the .o (and linked executable) file. There's still a few places we could shave off some more space here: * use compilation dir of the underlying compilation unit (since all the type units share that compilation dir - though this would be more complicated in LTO cases where they don't (keep a map of compilation dir->line table header?)) * Remove some of the unnecessary header fields from the line table since they're not needed in this situation (about 12 bytes per table). llvm-svn: 204099
-
Duncan P. N. Exon Smith authored
llvm-svn: 204098
-