[clang] [libunwind] [libunwind][WebAssembly] Make libunwind compilable (PR #92192)
via cfe-commits
cfe-commits at lists.llvm.org
Tue May 14 16:47:36 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff dca3a6e562e012940c2b62a4d8dae3afec09caa4 95b9e56ac8bdd3b0bde08f63f64e35d47a61b784 -- clang/lib/Frontend/InitPreprocessor.cpp libunwind/include/__libunwind_config.h libunwind/src/UnwindLevel1.c libunwind/src/libunwind.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libunwind/include/__libunwind_config.h b/libunwind/include/__libunwind_config.h
index 7d87831a80..028b9e3baa 100644
--- a/libunwind/include/__libunwind_config.h
+++ b/libunwind/include/__libunwind_config.h
@@ -182,8 +182,8 @@
_LIBUNWIND_HIGHEST_DWARF_REGISTER_LOONGARCH
#elif defined(__wasm__)
// Unused
-# define _LIBUNWIND_CONTEXT_SIZE 0
-# define _LIBUNWIND_CURSOR_SIZE 0
+#define _LIBUNWIND_CONTEXT_SIZE 0
+#define _LIBUNWIND_CURSOR_SIZE 0
# else
# error "Unsupported architecture."
# endif
``````````
</details>
https://github.com/llvm/llvm-project/pull/92192
More information about the cfe-commits
mailing list