summaryrefslogtreecommitdiff
path: root/src/binary-reader-objdump.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader-objdump.h')
-rw-r--r--src/binary-reader-objdump.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/binary-reader-objdump.h b/src/binary-reader-objdump.h
index e3880484..b2fb75b3 100644
--- a/src/binary-reader-objdump.h
+++ b/src/binary-reader-objdump.h
@@ -17,19 +17,17 @@
#ifndef WABT_BINARY_READER_OBJDUMP_H_
#define WABT_BINARY_READER_OBJDUMP_H_
+#include <string>
+#include <vector>
+
#include "common.h"
#include "stream.h"
-#include "vector.h"
namespace wabt {
struct Module;
struct ReadBinaryOptions;
-WABT_DEFINE_VECTOR(reloc, Reloc);
-
-WABT_DEFINE_VECTOR(string_slice, StringSlice);
-
enum class ObjdumpMode {
Prepass,
Headers,
@@ -50,8 +48,8 @@ struct ObjdumpOptions {
const char* infile;
const char* section_name;
bool print_header;
- StringSliceVector function_names;
- RelocVector code_relocations;
+ std::vector<std::string> function_names;
+ std::vector<Reloc> code_relocations;
};
Result read_binary_objdump(const uint8_t* data,