[llvm] [llvm-objdump] Add preliminary support for decoding binary files (PR #115667)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 12 03:01:31 PST 2024
================
@@ -0,0 +1,30 @@
+//===-- BinaryDump.h - raw-binary dumper ------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TOOLS_LLVM_OBJDUMP_BINARYDUMP_H
+#define LLVM_TOOLS_LLVM_OBJDUMP_BINARYDUMP_H
+
+#include "llvm/ADT/SmallVector.h"
+
+namespace llvm {
+class Error;
+namespace object {
+class BinaryObjectFile;
+class RelocationRef;
+} // namespace object
+
+namespace objdump {
+
----------------
jh7370 wrote:
Nit: you're being a bit hit-and-miss with where your blank lines are when starting/ending namespaces.
https://github.com/llvm/llvm-project/pull/115667
More information about the llvm-commits
mailing list