blob: 39a99d6d38787f019176f3061f2cfa68f75dd836 [file] [log] [blame]
David Srbecky3b9d57a2015-04-10 00:22:14 +01001/*
2 * Copyright (C) 2015 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef ART_COMPILER_ELF_WRITER_DEBUG_H_
18#define ART_COMPILER_ELF_WRITER_DEBUG_H_
19
20#include <vector>
21
22#include "oat_writer.h"
23
24namespace art {
25namespace dwarf {
26
27void WriteDebugSections(const CompilerDriver* compiler,
28 const OatWriter* oat_writer,
29 uint32_t text_section_offset,
30 std::vector<uint8_t>* eh_frame_data,
31 std::vector<uint8_t>* debug_info_data,
32 std::vector<uint8_t>* debug_abbrev_data,
33 std::vector<uint8_t>* debug_str_data,
34 std::vector<uint8_t>* debug_line_data);
35
36} // namespace dwarf
37} // namespace art
38
39#endif // ART_COMPILER_ELF_WRITER_DEBUG_H_