node-bin-darwin-arm64 16.7.0 → 16.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/CHANGELOG.md +160 -0
  2. package/LICENSE +11 -0
  3. package/README.md +17 -2
  4. package/bin/node +0 -0
  5. package/include/node/common.gypi +1 -1
  6. package/include/node/config.gypi +2 -0
  7. package/include/node/node.h +8 -1
  8. package/include/node/node_version.h +1 -1
  9. package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
  10. package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
  11. package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +1 -1
  12. package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
  13. package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  14. package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +1 -1
  15. package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +1 -1
  16. package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +1 -1
  17. package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +1 -1
  18. package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
  19. package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +1 -1
  20. package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +1 -1
  21. package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +1 -1
  22. package/include/node/openssl/archs/aix-gcc/asm/crypto/buildinf.h +1 -1
  23. package/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/buildinf.h +1 -1
  24. package/include/node/openssl/archs/aix-gcc/no-asm/crypto/buildinf.h +1 -1
  25. package/include/node/openssl/archs/aix64-gcc/asm/crypto/buildinf.h +1 -1
  26. package/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/buildinf.h +1 -1
  27. package/include/node/openssl/archs/aix64-gcc/no-asm/crypto/buildinf.h +1 -1
  28. package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
  29. package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
  30. package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +1 -1
  31. package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
  32. package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
  33. package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +1 -1
  34. package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
  35. package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
  36. package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +1 -1
  37. package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
  38. package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
  39. package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
  40. package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
  41. package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
  42. package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
  43. package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
  44. package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
  45. package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
  46. package/include/node/openssl/archs/linux-ppc/asm/crypto/buildinf.h +1 -1
  47. package/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/buildinf.h +1 -1
  48. package/include/node/openssl/archs/linux-ppc/no-asm/crypto/buildinf.h +1 -1
  49. package/include/node/openssl/archs/linux-ppc64/asm/crypto/buildinf.h +1 -1
  50. package/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/buildinf.h +1 -1
  51. package/include/node/openssl/archs/linux-ppc64/no-asm/crypto/buildinf.h +1 -1
  52. package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
  53. package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
  54. package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
  55. package/include/node/openssl/archs/linux-x32/asm/crypto/buildinf.h +1 -1
  56. package/include/node/openssl/archs/linux-x32/asm_avx2/crypto/buildinf.h +1 -1
  57. package/include/node/openssl/archs/linux-x32/no-asm/crypto/buildinf.h +1 -1
  58. package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
  59. package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
  60. package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
  61. package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
  62. package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
  63. package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
  64. package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +1 -1
  65. package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +1 -1
  66. package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
  67. package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
  68. package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
  69. package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
  70. package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
  71. package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
  72. package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
  73. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
  74. package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
  75. package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
  76. package/include/node/openssl/e_os2.h +3 -2
  77. package/include/node/openssl/opensslv.h +2 -2
  78. package/include/node/openssl/ssl.h +1 -0
  79. package/include/node/openssl/sslerr.h +4 -1
  80. package/include/node/openssl/x509v3err.h +3 -1
  81. package/include/node/v8-internal.h +1 -0
  82. package/include/node/v8-version.h +3 -3
  83. package/include/node/v8.h +38 -3
  84. package/package.json +1 -1
  85. package/share/doc/node/gdbinit +5 -1
  86. package/share/doc/node/lldb_commands.py +17 -2
@@ -31,7 +31,11 @@ end
31
31
 
32
32
  # Print Code objects containing given PC.
33
33
  define jco
34
- call (void) _v8_internal_Print_Code((void*)($arg0))
34
+ if $argc == 0
35
+ call (void) _v8_internal_Print_Code((void*)($pc))
36
+ else
37
+ call (void) _v8_internal_Print_Code((void*)($arg0))
38
+ end
35
39
  end
36
40
  document jco
37
41
  Print a v8 Code object from an internal code address
@@ -8,9 +8,11 @@
8
8
  # for py2/py3 compatibility
9
9
  from __future__ import print_function
10
10
 
11
- import lldb
11
+ import os
12
12
  import re
13
13
 
14
+ import lldb
15
+
14
16
  #####################
15
17
  # Helper functions. #
16
18
  #####################
@@ -21,7 +23,8 @@ def current_frame(debugger):
21
23
  return current_thread(debugger).GetSelectedFrame()
22
24
 
23
25
  def no_arg_cmd(debugger, cmd):
24
- evaluate_result = current_frame(debugger).EvaluateExpression(cmd)
26
+ cast_to_void_expr = '(void) {}'.format(cmd)
27
+ evaluate_result = current_frame(debugger).EvaluateExpression(cast_to_void_expr)
25
28
  # When a void function is called the return value type is 0x1001 which
26
29
  # is specified in http://tiny.cc/bigskz. This does not indicate
27
30
  # an error so we check for that value below.
@@ -112,7 +115,19 @@ def bta(debugger, *args):
112
115
  print("%s -> %s %s (%s)\033[0m" % (
113
116
  color, prefix, match.group(2), match.group(1)))
114
117
 
118
+ def setup_source_map_for_relative_paths(debugger):
119
+ # Copied from Chromium's tools/lldb/lldbinit.py.
120
+ # When relative paths are used for debug symbols, lldb cannot find source
121
+ # files. Set up a source map to point to V8's root.
122
+ this_dir = os.path.dirname(os.path.abspath(__file__))
123
+ source_dir = os.path.join(this_dir, os.pardir)
124
+
125
+ debugger.HandleCommand(
126
+ 'settings set target.source-map ../.. ' + source_dir)
127
+
128
+
115
129
  def __lldb_init_module(debugger, dict):
130
+ setup_source_map_for_relative_paths(debugger)
116
131
  debugger.HandleCommand('settings set target.x86-disassembly-flavor intel')
117
132
  for cmd in ('job', 'jlh', 'jco', 'jld', 'jtt', 'jst', 'jss', 'bta'):
118
133
  debugger.HandleCommand(