Skip to content
This repository was archived by the owner on Nov 6, 2022. It is now read-only.

Commit 53b5863

Browse files
Merge pull request #5 from fortanix/Vardhan/rust-build-fix
Ignoring implicit-fallthrough check for UnwindRustSgxSnprintf.c
2 parents 7562884 + 2ee5e65 commit 53b5863

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

libunwind/README_RUST_SGX.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Initial Fork has been made from 5.0 release of llvm (commit: 6a075b6de4)
1515
* `mkdir build`
1616
* `cd build`
1717
* `cmake -DCMAKE_BUILD_TYPE="RELEASE" -DRUST_SGX=1 -G "Unix Makefiles" -DLLVM_ENABLE_WARNINGS=1 -DLIBUNWIND_ENABLE_WERROR=1 -DLIBUNWIND_ENABLE_PEDANTIC=0 -DLLVM_PATH=<path/to/llvm> <path/to/libunwind>`
18-
* `-DCMAKE_BUILD_TYPE="RELEASE"` could be removed to enable debug logs of libunwind.
18+
* `"DEBUG"` could be used instead of `"RELEASE"` to enable debug logs of libunwind.
1919

2020
### Build:
2121
* `make unwind_static`

libunwind/src/UnwindRustSgxSnprintf.c

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#pragma GCC diagnostic ignored "-Wfloat-conversion"
1111
#pragma GCC diagnostic ignored "-Wsign-conversion"
1212
#pragma GCC diagnostic ignored "-Wstrict-overflow"
13+
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
1314

1415
/**************************************************************
1516
* Original:

0 commit comments

Comments
 (0)