Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: experimental/visual_studio_plugin/src/dwarf_reader/dwarf_line_parser.cc

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/visual_studio_plugin/src/dwarf_reader/dwarf_line_parser.cc
diff --git a/experimental/visual_studio_plugin/src/dwarf_reader/dwarf_line_parser.cc b/experimental/visual_studio_plugin/src/dwarf_reader/dwarf_line_parser.cc
deleted file mode 100644
index da02f602d3a2cc646e1fcbc1bb65db57166d4165..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/src/dwarf_reader/dwarf_line_parser.cc
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2011 The Native Client Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "dwarf_reader/dwarf_line_parser.h"
-#include "dwarf_reader/dwarf_reader.h"
-#include "dwarf_reader/parse_state.h"
-
-namespace dwarf_reader {
-
-DwarfLineParser::DwarfLineParser(ParseState *parse_state,
- IDwarfReader *reader)
- : parse_state_(parse_state),
- reader_(reader) {}
-
-void DwarfLineParser::DefineDir(const string& name, uint32 dir_num) {
- reader_->DefineDir(parse_state_->GetTopStackContext(),
- name.data(),
- dir_num);
-}
-
-void DwarfLineParser::DefineFile(const string& name,
- int32 file_num,
- uint32 dir_num,
- uint64 mod_time,
- uint64 length) {
- reader_->DefineFile(parse_state_->GetTopStackContext(),
- name.data(),
- file_num,
- dir_num,
- mod_time,
- length);
-}
-
-void DwarfLineParser::AddLine(uint64 address,
- uint64 length,
- uint32 file_num,
- uint32 line_num,
- uint32 column_num) {
- reader_->AddLine(parse_state_->GetTopStackContext(),
- address,
- length,
- file_num,
- line_num,
- column_num);
-}
-
-} // namespace dwarf_reader

Powered by Google App Engine
This is Rietveld 408576698