1. 29 Nov, 2016 1 commit
  2. 24 Nov, 2016 2 commits
    • clemensh's avatar
      Revert of [base] Pass scalar arguments by value in CHECK/DCHECK (patchset #3... · 29ee6244
      clemensh authored
      Revert of [base] Pass scalar arguments by value in CHECK/DCHECK (patchset #3 id:40001 of https://codereview.chromium.org/2524093002/ )
      
      Reason for revert:
      Seems to cause compile errors on Android. Will investigate on Monday.
      
      Original issue's description:
      > [base] Pass scalar arguments by value in CHECK/DCHECK
      >
      > This not only potentially improves performance, but also avoids weird
      > linker errors, like the one below, where I used Smi::kMinValue in a
      > DCHECK_EQ.
      >
      > > [421/649] LINK ./mksnapshot
      > > FAILED: mksnapshot
      > > src/base/logging.h|178| error: undefined reference to
      >   'v8::internal::Smi::kMinValue'
      >
      > R=bmeurer@chromium.org, ishell@chromium.org
      >
      > Committed: https://crrev.com/76723502528c5af003fdffc3520632ea2a13fef3
      > Cr-Commit-Position: refs/heads/master@{#41273}
      
      TBR=bmeurer@chromium.org,ishell@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      
      Review-Url: https://codereview.chromium.org/2527883004
      Cr-Commit-Position: refs/heads/master@{#41278}
      29ee6244
    • clemensh's avatar
      [base] Pass scalar arguments by value in CHECK/DCHECK · 76723502
      clemensh authored
      This not only potentially improves performance, but also avoids weird
      linker errors, like the one below, where I used Smi::kMinValue in a
      DCHECK_EQ.
      
      > [421/649] LINK ./mksnapshot
      > FAILED: mksnapshot
      > src/base/logging.h|178| error: undefined reference to
        'v8::internal::Smi::kMinValue'
      
      R=bmeurer@chromium.org, ishell@chromium.org
      
      Review-Url: https://codereview.chromium.org/2524093002
      Cr-Commit-Position: refs/heads/master@{#41273}
      76723502
  3. 18 Aug, 2016 1 commit
    • rmcilroy's avatar
      Replace DumpBacktrace with Chromium's StackTrace implementation. · 49c14f63
      rmcilroy authored
      Adds support for dumping the stack on Windows. Also enables in-process
      stack dumping in d8 to dump the stack on exceptions and signals.
      
      This CL changes the format of stack dumps from:
       1: V8_Fatal
       2: 0x1ac6ba5
       3: v8::internal::interpreter::BytecodeGenerator::Visit(v8::internal::AstNode*)
       4: v8::internal::interpreter::BytecodeGenerator::VisitForAccumulatorValue(v8::internal::Expression*)
       ...
      
      To:
        ./out/x64.debug/d8(v8::base::debug::StackTrace::StackTrace()+0x1e) [0x1c6ee5e]
        ./out/x64.debug/d8() [0x1c6ede5]
        /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330) [0x7fa01193e330]
        ./out/x64.debug/d8(v8::base::OS::Abort()+0x12) [0x1c6cea2]
        ./out/x64.debug/d8() [0x1c67538]
        ./out/x64.debug/d8() [0x1ac80b5]
        ./out/x64.debug/d8(v8::internal::interpreter::BytecodeGenerator
      ::Visit(v8::internal::AstNode*)+0x3cb) [0x1ac323b]
        ./out/x64.debug/d8(v8::internal::interpreter::BytecodeGenerator
      ::VisitForAccumulatorValue(v8::internal::Expression*)+0x40) [0x1ac2570]
      
      Review-Url: https://codereview.chromium.org/2248393002
      Cr-Commit-Position: refs/heads/master@{#38717}
      49c14f63
  4. 13 Jul, 2016 1 commit
    • mstarzinger's avatar
      [runtime] Fully remove RUNTIME_ASSERT for good. · 04062e92
      mstarzinger authored
      This fully deprecates all uses of the RUNTIME_ASSERT macro and removes
      the macro and underlying logging function in question. All uses have
      been replaces with CHECK macros which crash safely even in production.
      
      It makes sure we discover abuse of runtime functions in the wild early
      and also abort the process safely. Breaking assumptions in any runtime
      function can no longer accidentally be caught by JavaScript.
      
      R=yangguo@chromium.org
      BUG=v8:5066
      
      Review-Url: https://codereview.chromium.org/2132493002
      Cr-Commit-Position: refs/heads/master@{#37704}
      04062e92
  5. 01 Mar, 2016 1 commit
    • littledan's avatar
      Make RUNTIME_ASSERT have more useful output in debug mode · 78d84530
      littledan authored
      Runtime asserts are were previously a bit annoying to debug, due to
      the lack of a useful error message, even in debug mode. This patch
      prints out some more information in debug mode for runtime assert
      failures while preserving their exception-throwing semantics. While
      we're at it, it requires a semicolon after RUNTIME_ASSERT macro
      invocations.
      
      ```
      $ rlwrap out/Debug/d8 --allow-natives-syntax
      V8 version 5.1.0 (candidate)
      d8> %ArrayBufferNeuter(1)
      
      #
      # Runtime error in ../../src/runtime/runtime-typedarray.cc, line 52
      #
      # args[0]->IsJSArrayBuffer()
      
      ==== C stack trace ===============================
      
       1: 0xf70ab5
       2: 0xadeebf
       3: 0xadedd4
       4: 0x2ef17630693b
      (d8):1: illegal access
      %ArrayBufferNeuter(1)
      ^
      
      d8>
      ```
      
      Also give the other 'illegal access' case (a special SyntaxError type) a more
      descriptive error message for its sole usage.
      
      R=adamk
      
      Review URL: https://codereview.chromium.org/1748183002
      
      Cr-Commit-Position: refs/heads/master@{#34401}
      78d84530
  6. 19 Mar, 2015 1 commit
    • jochen's avatar
      Use libdl to get symbols for backtraces · 84363499
      jochen authored
      With this patch, it'll look like this:
      
      $ out/x64.optdebug/d8 --expose-trigger-failure test/mjsunit/mjsunit.js test/mjsunit/verify-assert-false.js
      
      ==== C stack trace ===============================
      
       1: V8_Fatal
       2: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
       3: 0x727ced
       4: 0x72b6ba
       5: 0x188c7f607f9b
      
      BUG=none
      R=svenpanne@chromium.org
      LOG=y
      
      Review URL: https://codereview.chromium.org/1018313003
      
      Cr-Commit-Position: refs/heads/master@{#27318}
      84363499
  7. 30 Jan, 2015 3 commits
  8. 26 Aug, 2014 1 commit
  9. 30 Jun, 2014 1 commit
  10. 03 Jun, 2014 1 commit
  11. 29 Apr, 2014 1 commit
  12. 15 Apr, 2014 1 commit
  13. 17 Mar, 2014 1 commit
  14. 14 Jan, 2014 1 commit
  15. 02 Jan, 2014 1 commit
  16. 22 Nov, 2013 1 commit
  17. 25 Oct, 2013 1 commit
  18. 23 Sep, 2013 1 commit
  19. 11 Sep, 2013 1 commit
  20. 03 Jun, 2013 1 commit
  21. 21 May, 2013 1 commit
  22. 14 Dec, 2012 1 commit
  23. 18 Mar, 2011 3 commits
  24. 24 Nov, 2010 1 commit
  25. 05 Nov, 2010 1 commit
  26. 16 Nov, 2009 1 commit
  27. 02 Mar, 2009 1 commit
  28. 12 Sep, 2008 1 commit
  29. 10 Sep, 2008 1 commit
  30. 09 Sep, 2008 1 commit
  31. 03 Jul, 2008 1 commit