- Jan 08, 2014
-
-
Saleem Abdulrasool authored
This adds some preliminary support for decoding ARM EHABI unwinding information. The major functionality that remains from complete support is bytecode translation. Each Unwind Index Table is printed out as a separate entity along with its section index, name, offset, and entries. Each entry lists the function address, and if possible, the name, of the function to which it corresponds. The encoding model, personality routine or index, and byte code is also listed. llvm-svn: 198734
-
- Jan 07, 2014
-
-
Chandler Carruth authored
are part of the core IR library in order to support dumping and other basic functionality. Rename the 'Assembly' include directory to 'AsmParser' to match the library name and the only functionality left their -- printing has been in the core IR library for quite some time. Update all of the #includes to match. All of this started because I wanted to have the layering in good shape before I started adding support for printing LLVM IR using the new pass infrastructure, and commandline support for the new pass infrastructure. llvm-svn: 198688
-
- Jan 05, 2014
-
-
Simon Atanasyan authored
section tags to the llvm-readobj. llvm-svn: 198561
-
- Dec 30, 2013
-
-
Nico Weber authored
llvm-svn: 198198
-
Nico Weber authored
(unittests/ExecutionEngine/JIT/CMakeLists.txt is still missing for now, since it handles export files in a strange way: It generates a .exports file from a .def file instead of the other way round.) llvm-svn: 198183
-
- Dec 29, 2013
-
-
Nico Weber authored
The cmake build didn't support EXPORTED_SYMBOL_FILE. Instead, it had a Windows-only implementation in tools/lto/CMakeLists.txt, a linux-only implementation in tools/gold/CMakeLists.txt, and a darwin-only implementation in tools/clang/tools/libclang/CMakeLists.txt. This attempts to consolidate these one-offs into a single place. Clients can now just set LLVM_EXPORTED_SYMBOL_FILE and things (hopefully) Just Work, like in the make build. llvm-svn: 198136
-
- Dec 27, 2013
-
-
Nico Weber authored
This reduces the size of clang-format from 22 MB to 1.8 MB, diagtool goes from 21 MB to 2.8 MB, libclang.so goes from 29 MB to 20 MB, etc. The size of the bin/ folder shrinks from 270 MB to 200 MB. Targets that support plugins and don't already use EXPORTED_SYMBOL_FILE (which libclang and libLTO already do) can set NO_DEAD_STRIP to opt out. llvm-svn: 198087
-
- Dec 25, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 197997
-
NAKAMURA Takumi authored
Thanks, Vinson Lee! llvm-svn: 197996
-
- Dec 24, 2013
-
-
Alexey Samsonov authored
llvm-svn: 197988
-
- Dec 20, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 197818
-
NAKAMURA Takumi authored
llvm-svn: 197817
-
- Dec 19, 2013
-
-
NAKAMURA Takumi authored
llvm-config: Don't show build tree with --obj-root for installed llvm-config. Show $(prefix) instead. llvm-svn: 197684
-
NAKAMURA Takumi authored
llvm-config: Show build root instead of parent path in build tree with --obj-root for CMake multiconfig. llvm-svn: 197683
-
Timur Iskhodzhanov authored
Reviewed at http://llvm-reviews.chandlerc.com/D2425 llvm-svn: 197674
-
NAKAMURA Takumi authored
Although --system-libs is expected to use after --libs, it can be used alone. $ bin/llvm-config --ldflags -L/path/to/llvm/objroot/lib $ bin/llvm-config --libs object -lLLVMObject -lLLVMSupport $ bin/llvm-config --system-libs (Blank line. "all" is assumed but nothing is printed.) -lrt -ldl -ltinfo -lpthread -lz $ bin/llvm-config --ldflags --libs --system-libs object -L/path/to/llvm/objroot/lib -lLLVMObject -lLLVMSupport -lrt -ldl -ltinfo -lpthread -lz It is reimplementation of r197380, and workaround for PR3347 and PR8449. FIXME: Each LLVM component may have its dependent system libs. llvm-svn: 197664
-
Yuchen Wu authored
Similar to the file summaries, the function summaries output line, branching and call statistics. The file summaries have been moved outside the initial loop so that all of the function summaries can be outputted before file summaries. Also updated test cases. llvm-svn: 197633
-
- Dec 18, 2013
-
-
Yuchen Wu authored
This will cause llvm-cov to output branch counts instead of branch probabilities. -b must be enabled. Also updated tests. llvm-svn: 197594
-
NAKAMURA Takumi authored
I will introduce another flag, like --system-libs, later. llvm-svn: 197583
-
- Dec 17, 2013
-
-
NAKAMURA Takumi authored
With llvm-config.exe --bindir --libdir --build-mode, on Visual Studio 2010, In build tree: (OBJ_ROOT)/bin/MinSizeRel (OBJ_ROOT)/lib/MinSizeRel MinSizeRel In installed tree: (INSTALL_PREFIX)/bin (INSTALL_PREFIX)/lib MinSizeRel This is enhancements since r196283. llvm-svn: 197467
-
- Dec 16, 2013
-
-
Yuchen Wu authored
Outputs branch information for unconditional branches in addition to conditional branches. -b option must be enabled. Also updated tests. llvm-svn: 197432
-
NAKAMURA Takumi authored
[CMake] Introduce LLVM_RUNTIME_OUTPUT_INTDIR and LLVM_LIBRARY_OUTPUT_INTDIR to reduce references to CMAKE_CFG_INTDIR. Each of them forms like; ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR} ${CMAKE_BINARY_DIR}/lib/${CMAKE_CFG_INTDIR} llvm-svn: 197394
-
NAKAMURA Takumi authored
llvm-config: Fixup r197380, tweak for cross compilation. SYSTEM_LIBS should be --host's in BuildTools/llvm-config. FIXME: Host's llvm-config is not generated. It's for target's. Host tools, aka "BuildTools", in utils, do not require llvm-config to build. For example with --host=i686-pc-mingw32 --build=linux, $ BuildTools/Release+Asserts/bin/llvm-config --libs support -lLLVMSupport -lpthread -lshell32 -lpsapi -limagehlp -lm llvm-svn: 197382
-
NAKAMURA Takumi authored
LLVM libs are printed in the first line, and system libs are printed in the next line. $ bin/llvm-config --libs object -lLLVMObject -lLLVMSupport -lrt -ldl -ltinfo -lpthread -lz It is workaround for PR3347 and PR8449. llvm-svn: 197380
-
- Dec 13, 2013
-
-
Yuchen Wu authored
This option tells llvm-cov to print out branch probabilities when a basic block contains multiple branches. It also prints out some function summary info including the number of times the function enters, the percent of time it returns, and how many blocks were executed. Also updated tests. llvm-svn: 197198
-
- Dec 10, 2013
-
-
Matt Arsenault authored
Unused variable and unused typedef in release build. llvm-svn: 196947
-
NAKAMURA Takumi authored
lto.exports really exports LLVM-C Disasm stuff. llvm-svn: 196911
-
NAKAMURA Takumi authored
llvm-svn: 196908
-
NAKAMURA Takumi authored
[CMake] lli/CMakeLists.txt: Move add_subdirectory(ChildTarget) to the front. It depends on nothing described in LLVM_LINK_COMPONENTS. llvm-svn: 196902
-
Yuchen Wu authored
Similar to gcov, llvm-cov will now print out the block count at the end of each block. Multiple blocks can end on the same line. One computational difference is by using -a, llvm-cov will no longer simply add the block counts together to form a line count. Instead, it will take the maximum of the block counts on that line. This has a similar effect to what gcov does, but generates more correct counts in certain scenarios. Also updated tests. llvm-svn: 196856
-
- Dec 07, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 196654
-
Lang Hames authored
llvm-svn: 196641
-
Lang Hames authored
Patch by Andy Kaylor, with minor edits to resolve merge conflicts. llvm-svn: 196639
-
- Dec 05, 2013
-
-
Yuchen Wu authored
llvm-svn: 196541
-
Renato Golin authored
The intended behaviour is to force vectorization on the presence of the flag (either turn on or off), and to continue the behaviour as expected in its absence. Tests were added to make sure the all cases are covered in opt. No tests were added in other tools with the assumption that they should use the PassManagerBuilder in the same way. This patch also removes the outdated -late-vectorize flag, which was on by default and not helping much. The pragma metadata is being attached to the same place as other loop metadata, but nothing forbids one from attaching it to a function (to enable #pragma optimize) or basic blocks (to hint the basic-block vectorizers), etc. The logic should be the same all around. Patches to Clang to produce the metadata will be produced after the initial implementation is agreed upon and committed. Patches to other vectorizers (such as SLP and BB) will be added once we're happy with the pass manager changes. llvm-svn: 196537
-
Matt Arsenault authored
Unused typedefs and unused variables. llvm-svn: 196526
-
Alp Toker authored
This patch tries to avoid unrelated changes other than fixing a few hyphen-related ambiguities and contractions in nearby lines. llvm-svn: 196471
-
Will Dietz authored
llvm-svn: 196447
-
- Dec 04, 2013
-
-
Yuchen Wu authored
This splits the file-scope read() function into readGCNO() and readGCDA(). Also broke file format read into functions that first read the file type, then check the version. llvm-svn: 196353
-
NAKAMURA Takumi authored
Add --assertion-mode to llvm-config. It emits ON or OFF according to NDEBUG. llvm-svn: 196329
-