diff options
author | Derek Schuff <dschuff@chromium.org> | 2023-03-02 15:52:25 -0800 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2023-03-03 17:15:55 -0800 |
commit | c7af9ae577bb04c5fe120fc07844a500818c8f47 (patch) | |
tree | bce5941c5cfe4ab049ae2fd6e690a52d403a0cbb /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | 1a1dc440dae2e6dd05f899439dd9ebb97c0ba012 (diff) | |
download | llvm-c7af9ae577bb04c5fe120fc07844a500818c8f47.zip llvm-c7af9ae577bb04c5fe120fc07844a500818c8f47.tar.gz llvm-c7af9ae577bb04c5fe120fc07844a500818c8f47.tar.bz2 |
Reapply: [WebAssembly] Implement build-id feature
Implement the --build-id flag similarly to ELF, and generate a
build_id section according to the WebAssembly tool convention
specified in https://github.com/WebAssembly/tool-conventions/pull/183
The default style ("fast" aka "tree") hashes the contents of the
output and (unlike ELF) generates a v5 UUID based on the hash (using a
random namespace). It also supports generating a random v4 UUID, a
sha1 hash, and a user-specified string (as ELF does).
Differential Revision: https://reviews.llvm.org/D107662
Fix MSVC build by std::copy on the underying buffer rather than
directly from std::array to llvm::MutableArrayRef
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions