| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b7d9389 commit 562fdb5
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -907,7 +907,7 @@ | |||
| 907 | 907 | 'type': 'executable', | |
| 908 | 908 | ||
| 909 | 909 | 'dependencies': [ | |
| 910 | - '<(node_core_target_name)', | ||
| 910 | + '<(node_lib_target_name)', | ||
| 911 | 911 | 'rename_node_bin_win', | |
| 912 | 912 | 'deps/gtest/gtest.gyp:gtest', | |
| 913 | 913 | 'node_js2c#host', | |
@@ -916,39 +916,6 @@ | |||
| 916 | 916 | 'node_dtrace_provider', | |
| 917 | 917 | ], | |
| 918 | 918 | ||
| 919 | - 'variables': { | ||
| 920 | - 'obj_path': '<(obj_dir)/<(node_lib_target_name)/src', | ||
| 921 | - 'obj_gen_path': '<(obj_dir)/<(node_lib_target_name)/gen', | ||
| 922 | - 'obj_tracing_path': '<(obj_dir)/<(node_lib_target_name)/src/tracing', | ||
| 923 | - 'obj_suffix': 'o', | ||
| 924 | - 'obj_separator': '/', | ||
| 925 | - 'conditions': [ | ||
| 926 | - ['OS=="win"', { | ||
| 927 | - 'obj_suffix': 'obj', | ||
| 928 | - }], | ||
| 929 | - ['GENERATOR=="ninja"', { | ||
| 930 | - 'obj_path': '<(obj_dir)/src', | ||
| 931 | - 'obj_gen_path': '<(obj_dir)/gen', | ||
| 932 | - 'obj_tracing_path': '<(obj_dir)/src/tracing', | ||
| 933 | - 'obj_separator': '/<(node_lib_target_name).', | ||
| 934 | - }, { | ||
| 935 | - 'conditions': [ | ||
| 936 | - ['OS=="win"', { | ||
| 937 | - 'obj_path': '<(obj_dir)/<(node_lib_target_name)', | ||
| 938 | - 'obj_gen_path': '<(obj_dir)/<(node_lib_target_name)', | ||
| 939 | - 'obj_tracing_path': '<(obj_dir)/<(node_lib_target_name)', | ||
| 940 | - }], | ||
| 941 | - ['OS=="aix"', { | ||
| 942 | - 'obj_path': '<(obj_dir)/<(node_lib_target_name)/src', | ||
| 943 | - 'obj_gen_path': '<(obj_dir)/<(node_lib_target_name)/gen', | ||
| 944 | - 'obj_tracing_path': | ||
| 945 | - '<(obj_dir)/<(node_lib_target_name)/src/tracing', | ||
| 946 | - }], | ||
| 947 | - ]} | ||
| 948 | - ] | ||
| 949 | - ], | ||
| 950 | - }, | ||
| 951 | - | ||
| 952 | 919 | 'includes': [ | |
| 953 | 920 | 'node.gypi' | |
| 954 | 921 | ], | |
@@ -965,7 +932,6 @@ | |||
| 965 | 932 | 'defines': [ 'NODE_WANT_INTERNALS=1' ], | |
| 966 | 933 | ||
| 967 | 934 | 'sources': [ | |
| 968 | - 'test/cctest/node_module_reg.cc', | ||
| 969 | 935 | 'test/cctest/node_test_fixture.cc', | |
| 970 | 936 | 'test/cctest/test_aliased_buffer.cc', | |
| 971 | 937 | 'test/cctest/test_base64.cc', | |
@@ -975,119 +941,30 @@ | |||
| 975 | 941 | 'test/cctest/test_url.cc' | |
| 976 | 942 | ], | |
| 977 | 943 | ||
| 978 | - 'libraries': [ | ||
| 979 | - '<(obj_path)<(obj_separator)async_wrap.<(obj_suffix)', | ||
| 980 | - '<(obj_path)<(obj_separator)handle_wrap.<(obj_suffix)', | ||
| 981 | - '<(obj_path)<(obj_separator)env.<(obj_suffix)', | ||
| 982 | - '<(obj_path)<(obj_separator)node.<(obj_suffix)', | ||
| 983 | - '<(obj_path)<(obj_separator)node_buffer.<(obj_suffix)', | ||
| 984 | - '<(obj_path)<(obj_separator)node_debug_options.<(obj_suffix)', | ||
| 985 | - '<(obj_path)<(obj_separator)node_i18n.<(obj_suffix)', | ||
| 986 | - '<(obj_path)<(obj_separator)node_perf.<(obj_suffix)', | ||
| 987 | - '<(obj_path)<(obj_separator)node_platform.<(obj_suffix)', | ||
| 988 | - '<(obj_path)<(obj_separator)node_url.<(obj_suffix)', | ||
| 989 | - '<(obj_path)<(obj_separator)util.<(obj_suffix)', | ||
| 990 | - '<(obj_path)<(obj_separator)string_bytes.<(obj_suffix)', | ||
| 991 | - '<(obj_path)<(obj_separator)string_search.<(obj_suffix)', | ||
| 992 | - '<(obj_path)<(obj_separator)stream_base.<(obj_suffix)', | ||
| 993 | - '<(obj_path)<(obj_separator)node_constants.<(obj_suffix)', | ||
| 994 | - '<(obj_tracing_path)<(obj_separator)agent.<(obj_suffix)', | ||
| 995 | - '<(obj_tracing_path)<(obj_separator)node_trace_buffer.<(obj_suffix)', | ||
| 996 | - '<(obj_tracing_path)<(obj_separator)node_trace_writer.<(obj_suffix)', | ||
| 997 | - '<(obj_tracing_path)<(obj_separator)trace_event.<(obj_suffix)', | ||
| 998 | - '<(obj_gen_path)<(obj_separator)node_javascript.<(obj_suffix)', | ||
| 999 | - ], | ||
| 1000 | - | ||
| 1001 | 944 | 'conditions': [ | |
| 1002 | 945 | [ 'node_use_openssl=="true"', { | |
| 1003 | - 'conditions': [ | ||
| 1004 | - ['node_target_type!="static_library"', { | ||
| 1005 | - 'libraries': [ | ||
| 1006 | - '<(obj_path)<(obj_separator)node_crypto.<(obj_suffix)', | ||
| 1007 | - '<(obj_path)<(obj_separator)node_crypto_bio.<(obj_suffix)', | ||
| 1008 | - '<(obj_path)<(obj_separator)node_crypto_clienthello.<(obj_suffix)', | ||
| 1009 | - '<(obj_path)<(obj_separator)tls_wrap.<(obj_suffix)', | ||
| 1010 | - ], | ||
| 1011 | - }], | ||
| 1012 | - ], | ||
| 1013 | 946 | 'defines': [ | |
| 1014 | 947 | 'HAVE_OPENSSL=1', | |
| 1015 | 948 | ], | |
| 1016 | 949 | }], | |
| 1017 | 950 | [ 'node_use_perfctr=="true"', { | |
| 1018 | 951 | 'defines': [ 'HAVE_PERFCTR=1' ], | |
| 1019 | - 'libraries': [ | ||
| 1020 | - '<(obj_path)<(obj_separator)node_counters.<(obj_suffix)', | ||
| 1021 | - '<(obj_path)<(obj_separator)' | ||
| 1022 | - 'node_win32_perfctr_provider.<(obj_suffix)', | ||
| 1023 | - ], | ||
| 1024 | 952 | }], | |
| 1025 | 953 | ['v8_enable_inspector==1', { | |
| 1026 | 954 | 'sources': [ | |
| 1027 | 955 | 'test/cctest/test_inspector_socket.cc', | |
| 1028 | 956 | 'test/cctest/test_inspector_socket_server.cc' | |
| 1029 | 957 | ], | |
| 1030 | - 'conditions': [ | ||
| 1031 | - ['node_target_type!="static_library"', { | ||
| 1032 | - 'libraries': [ | ||
| 1033 | - '<(obj_path)<(obj_separator)inspector_agent.<(obj_suffix)', | ||
| 1034 | - '<(obj_path)<(obj_separator)inspector_io.<(obj_suffix)', | ||
| 1035 | - '<(obj_path)<(obj_separator)inspector_js_api.<(obj_suffix)', | ||
| 1036 | - '<(obj_path)<(obj_separator)inspector_socket.<(obj_suffix)', | ||
| 1037 | - '<(obj_path)<(obj_separator)inspector_socket_server.<(obj_suffix)', | ||
| 1038 | - ], | ||
| 1039 | - }], | ||
| 1040 | - ], | ||
| 1041 | 958 | 'defines': [ | |
| 1042 | 959 | 'HAVE_INSPECTOR=1', | |
| 1043 | 960 | ], | |
| 1044 | - }], | ||
| 1045 | - [ 'node_use_dtrace=="true" and node_target_type!="static_library"', { | ||
| 1046 | - 'libraries': [ | ||
| 1047 | - '<(obj_path)<(obj_separator)node_dtrace.<(obj_suffix)', | ||
| 1048 | - ], | ||
| 1049 | - 'conditions': [ | ||
| 1050 | - ['OS!="mac" and OS!="linux"', { | ||
| 1051 | - 'libraries': [ | ||
| 1052 | - '<(obj_path)<(obj_separator)node_dtrace_provider.<(obj_suffix)', | ||
| 1053 | - '<(obj_path)<(obj_separator)node_dtrace_ustack.<(obj_suffix)', | ||
| 1054 | - ] | ||
| 1055 | - }], | ||
| 1056 | - ['OS=="linux"', { | ||
| 1057 | - 'libraries': [ | ||
| 1058 | - '<(SHARED_INTERMEDIATE_DIR)<(obj_separator)' | ||
| 1059 | - 'node_dtrace_provider.<(obj_suffix)', | ||
| 1060 | - ] | ||
| 1061 | - }], | ||
| 1062 | - ], | ||
| 1063 | - }, { | ||
| 1064 | - 'conditions': [ | ||
| 1065 | - [ 'node_use_etw=="true" and OS=="win"', { | ||
| 1066 | - 'libraries': [ | ||
| 1067 | - '<(obj_path)<(obj_separator)node_dtrace.<(obj_suffix)', | ||
| 1068 | - '<(obj_path)<(obj_separator)' | ||
| 1069 | - 'node_win32_etw_provider.<(obj_suffix)', | ||
| 1070 | - ], | ||
| 1071 | - }] | ||
| 1072 | - ] | ||
| 1073 | - }], | ||
| 1074 | - [ 'OS=="win" and node_target_type!="static_library"', { | ||
| 1075 | - 'libraries': [ | ||
| 1076 | - '<(obj_path)<(obj_separator)backtrace_win32.<(obj_suffix)', | ||
| 1077 | - ], | ||
| 1078 | 961 | }, { | |
| 1079 | - 'conditions': [ | ||
| 1080 | - ['node_target_type!="static_library"', { | ||
| 1081 | - 'libraries': [ | ||
| 1082 | - '<(obj_path)<(obj_separator)backtrace_posix.<(obj_suffix)', | ||
| 1083 | - ], | ||
| 1084 | - }], | ||
| 1085 | - ], | ||
| 962 | + 'defines': [ 'HAVE_INSPECTOR=0' ] | ||
| 1086 | 963 | }], | |
| 1087 | 964 | ['OS=="solaris"', { | |
| 1088 | 965 | 'ldflags': [ '-I<(SHARED_INTERMEDIATE_DIR)' ] | |
| 1089 | 966 | }], | |
| 1090 | - ] | ||
| 967 | + ], | ||
| 1091 | 968 | } | |
| 1092 | 969 | ], # end targets | |
| 1093 | 970 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,12 +1,32 @@ | |||
| 1 | - #include "node_postmortem_metadata.cc" | ||
| 2 | - | ||
| 3 | 1 | #include "gtest/gtest.h" | |
| 4 | 2 | #include "node.h" | |
| 5 | 3 | #include "node_internals.h" | |
| 6 | 4 | #include "node_test_fixture.h" | |
| 7 | 5 | #include "req_wrap-inl.h" | |
| 8 | 6 | #include "tracing/agent.h" | |
| 9 | 7 | #include "v8.h" | |
| 8 | + #include "v8abbr.h" | ||
| 9 | + | ||
| 10 | + extern "C" { | ||
| 11 | + extern uintptr_t | ||
| 12 | + nodedbg_offset_HandleWrap__handle_wrap_queue___ListNode_HandleWrap; | ||
| 13 | + extern uintptr_t | ||
| 14 | + nodedbg_offset_Environment__handle_wrap_queue___Environment_HandleWrapQueue; | ||
| 15 | + extern int debug_symbols_generated; | ||
| 16 | + extern int nodedbg_const_Environment__kContextEmbedderDataIndex__int; | ||
| 17 | + extern uintptr_t | ||
| 18 | + nodedbg_offset_Environment_HandleWrapQueue__head___ListNode_HandleWrap; | ||
| 19 | + extern uintptr_t | ||
| 20 | + nodedbg_offset_Environment__req_wrap_queue___Environment_ReqWrapQueue; | ||
| 21 | + extern uintptr_t nodedbg_offset_ExternalString__data__uintptr_t; | ||
| 22 | + extern uintptr_t nodedbg_offset_ListNode_ReqWrap__next___uintptr_t; | ||
| 23 | + extern uintptr_t nodedbg_offset_ReqWrap__req_wrap_queue___ListNode_ReqWrapQueue; | ||
| 24 | + extern uintptr_t nodedbg_offset_ListNode_HandleWrap__next___uintptr_t; | ||
| 25 | + extern uintptr_t | ||
| 26 | + nodedbg_offset_Environment_ReqWrapQueue__head___ListNode_ReqWrapQueue; | ||
| 27 | + extern uintptr_t | ||
| 28 | + nodedbg_offset_BaseObject__persistent_handle___v8_Persistent_v8_Object; | ||
| 29 | + } | ||
| 10 | 30 | ||
| 11 | 31 | ||
| 12 | 32 | class DebugSymbolsTest : public EnvironmentTestFixture {}; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments