- Oct 23, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 193255
-
NAKAMURA Takumi authored
llvm-svn: 193254
-
Anders Waldenborg authored
This provides rudimentary testing of the llvm-c api. The following commands are implemented: * --module-dump Read bytecode from stdin - print ir * --module-list-functions Read bytecode from stdin - list summary of functions * --module-list-globals Read bytecode from stdin - list summary of globals * --targets-list List available targets * --object-list-sections Read object file from stdin - list sections * --object-list-symbols Read object file from stdin - list symbols (like nm) * --disassemble Read lines of triple, hex ascii machine code from stdin - print disassembly * --calc Read lines of name, rpn from stdin - print generated module ir Differential-Revision: http://llvm-reviews.chandlerc.com/D1776 llvm-svn: 193233
-
- Oct 22, 2013
-
-
Bob Wilson authored
- Replaced tabs with proper padding - print() takes two arguments, which are the GCNO and GCDA filenames - Files are listed at the top of output, appended by line 0 - Stripped strings of trailing \0s - Removed last two lines of whitespace in output Patch by Yuchen Wu! llvm-svn: 193148
-
Bob Wilson authored
collectLineCounts() should only organize the output data. This is done in anticipation of subsequent changes which will pass in GCNO and GCDA filenames into the print function where it is printed similar to the gcov output. Patch by Yuchen Wu! llvm-svn: 193134
-
- Oct 18, 2013
-
-
Rafael Espindola authored
Thanks to Milan Lenčo for noticing it. llvm-svn: 192996
-
- Oct 16, 2013
-
-
Rafael Espindola authored
Destroying the codegen also frees the path of the created object. Copy the path to a std::string. llvm-svn: 192787
-
Alexey Samsonov authored
llvm-svn: 192781
-
Andrew Kaylor authored
Patch by Yaron Keren llvm-svn: 192753
-
- Oct 14, 2013
-
-
Hans Wennborg authored
This should fix PR17568. Patch by Josh Samuel! llvm-svn: 192610
-
- Oct 12, 2013
-
-
Will Dietz authored
* std::string::append(int, int) can be ambiguous. * std::vector<>::data() is a C++11 feature, use ArrayRef abstraction. llvm-svn: 192542
-
Will Dietz authored
llvm-svn: 192519
-
Andrew Kaylor authored
This fixes a problem from a previous check-in where a return value was omitted. Previously the remote/stubs-remote.ll and remote/stubs-sm-pic.ll tests were reporting passes, but they should have been failing. Those tests attempt to link against an external symbol and remote symbol resolution is not supported. The old RemoteMemoryManager implementation resulted in local symbols being used for resolution and the child process crashed but the test didn't notice. With this check-in remote symbol resolution fails, and so the test (correctly) fails. llvm-svn: 192514
-
- Oct 11, 2013
-
-
Andrew Kaylor authored
llvm-svn: 192504
-
- Oct 10, 2013
-
-
Manman Ren authored
DIScopeRef. A paired commit at clang is required due to changes to DIBuilder. llvm-svn: 192378
-
Hans Wennborg authored
Patch by Josh Samuel! llvm-svn: 192371
-
Hans Wennborg authored
We previously failed to check whether the SUCCESS variable was set, and would thus always exit with a failure if vs2012 didn't exist. llvm-svn: 192370
-
- Oct 09, 2013
-
-
Greg Bedwell authored
llvm-svn: 192284
-
- Oct 08, 2013
-
-
Andrew Kaylor authored
llvm-svn: 192205
-
Rafael Espindola authored
Patch by Greg Bedwell. llvm-svn: 192182
-
- Oct 07, 2013
-
-
NAKAMURA Takumi authored
r191088 is "llvm/tools/Makefile: Suppress building llvm-lto on cygming, for now, probably due to LTO.dll." llvm-svn: 192104
-
Simon Atanasyan authored
The patch reviewed by Michael Spencer. http://llvm-reviews.chandlerc.com/D1846 llvm-svn: 192093
-
- Oct 05, 2013
-
-
Benjamin Kramer authored
llvm-svn: 192031
-
- Oct 04, 2013
-
-
Rafael Espindola authored
We were writing in text mode. Patch by Greg Bedwell. llvm-svn: 191985
-
Andrew Kaylor authored
llvm-svn: 191979
-
Andrew Kaylor authored
llvm-svn: 191976
-
Benjamin Kramer authored
This is unlikely to ever fail, but ubuntu GCC warns when the return value is unused. llvm-svn: 191973
-
Rafael Espindola authored
llvm-svn: 191970
-
Andrew Kaylor authored
llvm-svn: 191938
-
- Oct 03, 2013
-
-
Rafael Espindola authored
Generalize the API so we can distinguish symbols that are needed just for a DSO symbol table from those that are used from some native .o. The symbols that are only wanted for the dso symbol table can be dropped if llvm can prove every other dso has a copy (linkonce_odr) and the address is not important (unnamed_addr). llvm-svn: 191922
-
Rafael Espindola authored
This makes it possible to add timers to the code generator and still use them with -plugin-opt=emit-llvm. llvm-svn: 191866
-
Andrew Kaylor authored
llvm-svn: 191861
-
- Oct 02, 2013
-
-
Benjamin Kramer authored
llvm-svn: 191857
-
Richard Smith authored
searching $PATH for it then blindly executing it from $PWD anyway. llvm-svn: 191856
-
Andrew Kaylor authored
llvm-svn: 191848
-
Andrew Kaylor authored
llvm-svn: 191845
-
Andrew Kaylor authored
llvm-svn: 191844
-
Andrew Kaylor authored
At this time only Unix-based systems are supported. Windows has stubs and should re-route to the simulated mode. Thanks to Sriram Murali for contributions to this patch. llvm-svn: 191843
-
Chandler Carruth authored
infrastructure. This was essentially work toward PGO based on a design that had several flaws, partially dating from a time when LLVM had a different architecture, and with an effort to modernize it abandoned without being completed. Since then, it has bitrotted for several years further. The result is nearly unusable, and isn't helping any of the modern PGO efforts. Instead, it is getting in the way, adding confusion about PGO in LLVM and distracting everyone with maintenance on essentially dead code. Removing it paves the way for modern efforts around PGO. Among other effects, this removes the last of the runtime libraries from LLVM. Those are being developed in the separate 'compiler-rt' project now, with somewhat different licensing specifically more approriate for runtimes. llvm-svn: 191835
-
Chandler Carruth authored
I really should sort it or do something more sustainable, but I couldn't work up the energy to do it... Sorry. llvm-svn: 191832
-