Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[llvm-debuginfo-analyzer] Add support for WebAssembly binary format. #69181

Closed
CarlosAlbertoEnciso opened this issue Oct 16, 2023 · 3 comments
Closed

Comments

@CarlosAlbertoEnciso
Copy link
Member

Extracted from llvm/tools/llvm-debuginfo-analyzer/README.txt
#57040 (comment)

Add support for WebAssembly binary format.

@llvmbot
Copy link
Collaborator

llvmbot commented Oct 16, 2023

@llvm/issue-subscribers-debuginfo

Author: Carlos Alberto Enciso (CarlosAlbertoEnciso)

Extracted from [llvm/tools/llvm-debuginfo-analyzer/README.txt](https://github.com/llvm/llvm-project/blob/main/llvm/tools/llvm-debuginfo-analyzer/README.txt) https://github.com//issues/57040#issuecomment-1211336680

Add support for WebAssembly binary format.

@dschuff
Copy link
Member

dschuff commented Oct 24, 2023

@llvm/issue-subscribers-backend-webassembly

@llvmbot
Copy link
Collaborator

llvmbot commented Oct 24, 2023

@llvm/issue-subscribers-backend-webassembly

Author: Carlos Alberto Enciso (CarlosAlbertoEnciso)

Extracted from [llvm/tools/llvm-debuginfo-analyzer/README.txt](https://github.com/llvm/llvm-project/blob/main/llvm/tools/llvm-debuginfo-analyzer/README.txt) https://github.com//issues/57040#issuecomment-1211336680

Add support for WebAssembly binary format.

CarlosAlbertoEnciso added a commit to CarlosAlbertoEnciso/llvm-project that referenced this issue Feb 22, 2024
Add support for the WebAssembly binary format and be able to
generate logical views.

llvm#69181

The README.txt includes information about how to build
the test cases and conversion between .wasm and .wat.
CarlosAlbertoEnciso added a commit to CarlosAlbertoEnciso/llvm-project that referenced this issue Feb 22, 2024
Add support for the WebAssembly binary format and be able to
generate logical views.

llvm#69181

The README.txt includes information about how to build
the test cases and conversion between .wasm and .wat.

- Fix clang-format reported issue.
CarlosAlbertoEnciso added a commit to CarlosAlbertoEnciso/llvm-project that referenced this issue Feb 26, 2024
Add support for the WebAssembly binary format and be able to
generate logical views.

llvm#69181

- Use '--target=wasm32' for documentation and tests.
CarlosAlbertoEnciso added a commit to CarlosAlbertoEnciso/llvm-project that referenced this issue Feb 27, 2024
Add support for the WebAssembly binary format and be able to
generate logical views.

llvm#69181

- Remove the binary files (.wasm) and associated (.wat) used in
  the tests and replaced them with their YAML versions.
- Remove the README as now it is irrelevant.
CarlosAlbertoEnciso added a commit to CarlosAlbertoEnciso/llvm-project that referenced this issue Feb 28, 2024
Add support for the WebAssembly binary format and be able to
generate logical views.

llvm#69181

- Remove the YAML files used in the tests and replace them
  with the .s files.
- Add the README.txt with instructions on how to generate
  the .s and .wasm files from the .cpp.
CarlosAlbertoEnciso added a commit to CarlosAlbertoEnciso/llvm-project that referenced this issue Mar 4, 2024
Add support for the WebAssembly binary format and be able to
generate logical views.

llvm#69181

- Update the 'WasmOffset' only when the current section
  is 'CODE'. In all the other cases, its value is zero.
CarlosAlbertoEnciso added a commit to CarlosAlbertoEnciso/llvm-project that referenced this issue Mar 4, 2024
Add support for the WebAssembly binary format and be able to
generate logical views.

llvm#69181

- Add the '%t' prefix to the generated 'wasm' files to avoid
  any race condition, as there are tests that use the same
  generated 'wasm'.
CarlosAlbertoEnciso added a commit to CarlosAlbertoEnciso/llvm-project that referenced this issue Mar 12, 2024
Add support for the WebAssembly binary format and be able to
generate logical views.

llvm#69181

Address comments from @aheejin:
- Change extension '.wasm' to 'o' for the test and documentation.
- Clarify the WebAssembly offset usage when updating the HighPC values.
- Notes on future NFC patch to rename the ElfReader.cpp[h] on the
  ELF and Wasm support.
CarlosAlbertoEnciso added a commit that referenced this issue Mar 14, 2024
…82588)

Add support for the WebAssembly binary format and be able to generate
logical views.

#69181

The README.txt includes information about how to build the test cases.
@CarlosAlbertoEnciso CarlosAlbertoEnciso self-assigned this Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants