Skip to content
  1. Nov 11, 2013
  2. Nov 08, 2013
  3. Nov 05, 2013
  4. Nov 04, 2013
  5. Nov 02, 2013
  6. Oct 31, 2013
    • Rafael Espindola's avatar
      Use LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN instead of the "dso list". · 282a4703
      Rafael Espindola authored
      There are two ways one could implement hiding of linkonce_odr symbols in LTO:
      * LLVM tells the linker which symbols can be hidden if not used from native
        files.
      * The linker tells LLVM which symbols are not used from other object files,
        but will be put in the dso symbol table if present.
      
      GOLD's API is the second option. It was implemented almost 1:1 in llvm by
      passing the list down to internalize.
      
      LLVM already had partial support for the first option. It is also very similar
      to how ld64 handles hiding these symbols when *not* doing LTO.
      
      This patch then
      * removes the APIs for the DSO list.
      * marks LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN all linkonce_odr unnamed_addr
        global values and other linkonce_odr whose address is not used.
      * makes the gold plugin responsible for handling the API mismatch.
      
      llvm-svn: 193800
      282a4703
    • Rafael Espindola's avatar
      Rules adjustments in order to build on DragonFly BSD. · aca9739a
      Rafael Espindola authored
      Patch by Robin Hahling.
      
      llvm-svn: 193750
      aca9739a
    • Yuchen Wu's avatar
      Updated llvm-cov's OVERVIEW description · 9194d7b0
      Yuchen Wu authored
      llvm-svn: 193732
      9194d7b0
  7. Oct 29, 2013
  8. Oct 28, 2013
  9. Oct 27, 2013
    • NAKAMURA Takumi's avatar
      MCJIT-remote: __main should be resolved in child context. · 5bb01437
      NAKAMURA Takumi authored
        - Mark tests as XFAIL:cygming in test/ExecutionEngine/MCJIT/remote.
          Rather to suppress them, I'd like to leave them running as XFAIL.
        - Revert r193472. RecordMemoryManager no longer resolves __main on cygming.
      
      There are a couple of issues.
      
        - X86 Codegen emits "call __main" in @main for targeting cygming.
          It is useless in JIT. FYI, tests are passing when emitting __main is disabled.
        - Current remote JIT does not resolve any symbols in child context.
      
      FIXME: __main should be disabled, or remote JIT should resolve __main.
      llvm-svn: 193498
      5bb01437
  10. Oct 26, 2013
  11. Oct 25, 2013
    • Daniel Sanders's avatar
      [bugpoint] Increase the default memory limit for subprocesses to 300MB. · 1b71f42f
      Daniel Sanders authored
      Summary:
      Currently shared library builds (BUILD_SHARED_LIBS=ON in cmake) fail three
      bugpoint tests (BugPoint/remove_arguments_test.ll,
      BugPoint/crash-narrowfunctiontest.ll, and BugPoint/metadata.ll).
      
      If I run the bugpoint commands that llvm-lit runs with without -silence-passes
      I see errors such as this:
          opt: error while loading shared libraries: libLLVMSystemZInfo.so: failed to
          map segment from shared object: Cannot allocate memory
      
      It seems that the increased size of the binaries in a shared library build is
      causing the subprocess to exceed the 100MB memory limit. This patch therefore
      increases the default limit to a level at which these tests pass.
      
      Reviewers: dsanders
      
      Reviewed By: dsanders
      
      CC: llvm-commits, rafael
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D2013
      
      llvm-svn: 193420
      1b71f42f
    • Benjamin Kramer's avatar
      llvm-c-test: Don't leak memory buffers. · 2daaea5d
      Benjamin Kramer authored
      Detected by valgrind.
      
      llvm-svn: 193416
      2daaea5d
    • Reid Kleckner's avatar
      lto.h: Use lto_bool_t instead of int to restore the ABI · ddac1510
      Reid Kleckner authored
      This reverts commit r193255 and instead creates an lto_bool_t typedef
      that points to bool, _Bool, or unsigned char depending on what is
      available.  Only recent versions of MSVC provide a stdbool.h header.
      
      Reviewers: rafael.espindola
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D2019
      
      llvm-svn: 193377
      ddac1510
  12. Oct 23, 2013
  13. Oct 22, 2013
    • Bob Wilson's avatar
      Change llvm-cov output formatting to be more similar to gcov. · 3461bedb
      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
      3461bedb
    • Bob Wilson's avatar
      Move the printing of llvm-cov information out from collectLineCounts(). · 2f19d42f
      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
      2f19d42f
  14. Oct 18, 2013
  15. Oct 16, 2013
  16. Oct 14, 2013
  17. Oct 12, 2013
    • Will Dietz's avatar
      yaml2coff/elf: Touchup for compatibility. · 0b48c738
      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
      0b48c738
    • Will Dietz's avatar
      Add missing #include's to cctype when using isdigit/alpha/etc. · 981af002
      Will Dietz authored
      llvm-svn: 192519
      981af002
    • Andrew Kaylor's avatar
      Fixing problems in lli's RemoteMemoryManager. · 6587bcfd
      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
      6587bcfd
  18. Oct 11, 2013
  19. Oct 10, 2013
Loading