Skip to content

Commit

Permalink
[bazel] Set the default of LLVM_UNREACHABLE_OPTIMIZE to 1
Browse files Browse the repository at this point in the history
This matches the CMake default. LLVM_UNREACHABLE_OPTIMIZE=0 doesn't
build with gcc
  • Loading branch information
d0k committed Mar 24, 2022
1 parent c53cbce commit 38d248a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@

/* Define if llvm_unreachable should be optimized with undefined behavior
* in non assert builds */
/* #undef LLVM_UNREACHABLE_OPTIMIZE */
#define LLVM_UNREACHABLE_OPTIMIZE 1

#endif

0 comments on commit 38d248a

Please sign in to comment.