snapshot: add source line stubs for ARM64 Windows
When stubbing out source line information emission for Windows, the ARM64 Windows branch was missed. This change copies the x86/x64 stubs as appropriate. Bug: chromium:893460,v8:8870 R=jgruber@chromium.org Bug: chromium:893460,v8:8870 Change-Id: I1416b602a4f96a68c37fdeeb816ce1ce33b12407 Reviewed-on: https://chromium-review.googlesource.com/c/1453637 Commit-Queue: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Michael Stanton <mvstanton@chromium.org> Cr-Commit-Position: refs/heads/master@{#59817}
This commit is contained in:
parent
05715e53a0
commit
58cefed29c
@ -373,7 +373,7 @@ void PlatformDependentEmbeddedFileWriter::DeclareLabel(const char* name) {
|
||||
|
||||
void PlatformDependentEmbeddedFileWriter::SourceInfo(int fileid, int line) {
|
||||
// TODO(mvstanton): output source information for MSVC.
|
||||
// It's syntax is #line <line> "<filename>"
|
||||
// Its syntax is #line <line> "<filename>"
|
||||
}
|
||||
|
||||
void PlatformDependentEmbeddedFileWriter::DeclareFunctionBegin(
|
||||
@ -477,6 +477,11 @@ void PlatformDependentEmbeddedFileWriter::DeclareLabel(const char* name) {
|
||||
fprintf(fp_, "%s%s\n", SYMBOL_PREFIX, name);
|
||||
}
|
||||
|
||||
void PlatformDependentEmbeddedFileWriter::SourceInfo(int fileid, int line) {
|
||||
// TODO(mvstanton): output source information for MSVC.
|
||||
// Its syntax is #line <line> "<filename>"
|
||||
}
|
||||
|
||||
void PlatformDependentEmbeddedFileWriter::DeclareFunctionBegin(
|
||||
const char* name) {
|
||||
fprintf(fp_, "%s%s FUNCTION\n", SYMBOL_PREFIX, name);
|
||||
@ -492,6 +497,9 @@ int PlatformDependentEmbeddedFileWriter::HexLiteral(uint64_t value) {
|
||||
|
||||
void PlatformDependentEmbeddedFileWriter::FilePrologue() {}
|
||||
|
||||
void PlatformDependentEmbeddedFileWriter::DeclareExternalFilename(
|
||||
int fileid, const char* filename) {}
|
||||
|
||||
void PlatformDependentEmbeddedFileWriter::FileEpilogue() {
|
||||
fprintf(fp_, " END\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user