Created
July 28, 2011 02:55
-
-
Save ryuone/1110875 to your computer and use it in GitHub Desktop.
Node(0.4.10等)をデバッグモード(--debug --gdb)でconfigureし、コンパイルしたときのエラー対処
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/deps/v8/src/compiler.cc b/deps/v8/src/compiler.cc | |
index 18f54c2..b4d20f1 100755 | |
--- a/deps/v8/src/compiler.cc | |
+++ b/deps/v8/src/compiler.cc | |
@@ -800,7 +800,7 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, | |
} | |
} | |
- GDBJIT(AddCode(name, | |
+ GDBJIT(AddCode(Handle<String>(shared->DebugName()), | |
Handle<Script>(info->script()), | |
Handle<Code>(info->code()))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment