- Jun 18, 2013
-
-
Nick Lewycky authored
llvm-svn: 184174
-
Bill Wendling authored
llvm-svn: 184173
-
Bill Wendling authored
llvm-svn: 184172
-
Chris Lattner authored
These APIs are still used, and the constant APIs are actually really important. Removing these makes -Wdocumentation more useful. llvm-svn: 184170
-
-
Sean Silva authored
llvm-svn: 184162
-
Sean Silva authored
A bug in libObject will cause it to assert() if a symbol table's string table and the section header string table are the same section, so we need to ensure that we emit two different string tables (among other things). The problematic code is the hardcoded usage of ".strtab" (`dot_strtab_sec`) for looking up symbol names in ELFObjectFile<ELFT>::getSymbolName. I discussed this with Michael, and he has some local improvements to the ELF code in libObject that, among other things, should fix our handling of this scenario. llvm-svn: 184161
-
Sean Silva authored
I was spotting garbage in the output. I'd like to just zero the entire ELFYAML::Section to be sure, but it contains non-POD types. (I'm also trying to avoid bloating the ELFYAML::Foo classes with a bunch of constructor code). No test, since this is by its very nature unpredictable. I'm pretty sure that one of the sanitizers would catch it immediately though. llvm-svn: 184160
-
Rafael Espindola authored
The error message was: /home/espindola/llvm/llvm/tools/gold/gold-plugin.cpp: In function ‘ld_plugin_status cleanup_hook()’: /home/espindola/llvm/llvm/tools/gold/gold-plugin.cpp:461:30: error: cannot pass objects of non-trivially-copyable type ‘std::string {aka class std::basic_string<char>}’ through ‘...’ I will check if this was a clang or gcc issue. llvm-svn: 184138
-
- Jun 17, 2013
-
-
Rafael Espindola authored
llvm-svn: 184136
-
Andrew Trick authored
llvm-svn: 184135
-
Andrew Trick authored
llvm-svn: 184134
-
Andrew Trick authored
llvm-svn: 184133
-
Andrew Trick authored
A complex, expensive heuristic with little value in the current design. llvm-svn: 184132
-
Andrew Trick authored
llvm-svn: 184131
-
Andrew Trick authored
llvm-svn: 184130
-
Andrew Trick authored
This eliminates the MultiPressure scheduling "reason". It was sensitive to queue order. We don't like being sensitive to queue order. llvm-svn: 184129
-
Rafael Espindola authored
llvm-svn: 184122
-
Bill Wendling authored
llvm-svn: 184121
-
Rafael Espindola authored
llvm-svn: 184120
-
Rafael Espindola authored
This ports a missing feature from PathV1.h. I am not sure how to test this with the regular infrastructure, but an Apple bot should check this when r183985 is reapplied. llvm-svn: 184119
-
Vincent Lejeune authored
llvm-svn: 184117
-
Vincent Lejeune authored
Fixes rv7x0 bug in Heaven reported here: https://bugs.freedesktop.org/show_bug.cgi?id=64257 llvm-svn: 184116
-
Sean Silva authored
llvm-svn: 184115
-
Rafael Espindola authored
This reverts commit r183985. We were missing the checks for not deleting things like /dev/null. llvm-svn: 184111
-
Rafael Espindola authored
llvm-svn: 184109
-
Rafael Espindola authored
llvm-svn: 184107
-
Rafael Espindola authored
llvm-svn: 184106
-
Benjamin Kramer authored
The main advantages here are way better heuristics, taking into account not just loop depth but also __builtin_expect and other static heuristics and will eventually learn how to use profile info. Most of the work in this patch is pushing the MachineBlockFrequencyInfo analysis into the right places. This is good for a 5% speedup on zlib's deflate (x86_64), there were some very unfortunate spilling decisions in its hottest loop in longest_match(). Other benchmarks I tried were mostly neutral. This changes register allocation in subtle ways, update the tests for it. 2012-02-20-MachineCPBug.ll was deleted as it's very fragile and the instruction it looked for was gone already (but the FileCheck pattern picked up unrelated stuff). llvm-svn: 184105
-
Pekka Jaaskelainen authored
vectorizing loops with memory accesses to non-zero address spaces. It simply dropped the AS info. Fixes PR16306. llvm-svn: 184103
-
Rafael Espindola authored
llvm-svn: 184102
-
Rafael Espindola authored
llvm-svn: 184099
-
Rafael Espindola authored
This patch also adds a simpler version of sys::fs::remove and a tool_output_file constructor for when we already have an open file. llvm-svn: 184095
-
Rafael Espindola authored
llvm-svn: 184092
-
Nadav Rotem authored
llvm-svn: 184089
-
Rafael Espindola authored
llvm-svn: 184087
-
Nadav Rotem authored
llvm-svn: 184084
-
Rafael Espindola authored
llvm-ar is the only tool that needs to write archive files. Every other tool should be able to use the lib/Object interface. llvm-svn: 184083
-
Rafael Espindola authored
llvm-svn: 184081
-
Rafael Espindola authored
llvm-svn: 184080
-