Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[llvm-objdump] Invalid/Unsupported object file format #67634

Copy link
Copy link
Open
@CarlosAlbertoEnciso

Description

@CarlosAlbertoEnciso
Issue body actions

Using the given test case:

// test.cpp
int add(int First, int Second) {
  return First + Second;
}

and the command options:

clang -g -O0 --target=wasm64 -nostdlib -Wl,--no-entry -Wl,--export-all -o test.wasm test.cpp
llvm-objdump test.wasm --file-headers

it shows the error message

llvm-objdump: error: 'test.wasm': Invalid/Unsupported object file format

The error message is displayed for both targets wasm64 and wasm32.

However, other options such as: --disassemble, --headers, --full-contents recognize the format and display correct information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.