UNREACHABLE();Changes in the tests aren't super useful now, but if we eventually get the warning implemented in Clang we'd need this anyway I think.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
UNREACHABLE();Changes in the tests aren't super useful now, but if we eventually get the warning implemented in Clang we'd need this anyway I think.
What's the plan in terms of flags here? IIRC, the tradeoff didn't suggest a clear winner and all options had some downsides.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
UNREACHABLE();Michael LippautzChanges in the tests aren't super useful now, but if we eventually get the warning implemented in Clang we'd need this anyway I think.
What's the plan in terms of flags here? IIRC, the tradeoff didn't suggest a clear winner and all options had some downsides.
I already have a couple of PRs in the LLVM repo for new diagnostics. The agreement is still not reached and there are some subtle details to be figured out, but I'll keep working on it and hopefully find a path forward.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
UNREACHABLE();Michael LippautzChanges in the tests aren't super useful now, but if we eventually get the warning implemented in Clang we'd need this anyway I think.
Maksim IvanovWhat's the plan in terms of flags here? IIRC, the tradeoff didn't suggest a clear winner and all options had some downsides.
I already have a couple of PRs in the LLVM repo for new diagnostics. The agreement is still not reached and there are some subtle details to be figured out, but I'll keep working on it and hopefully find a path forward.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Removed Commit-Queue+2 by Maksim Ivanov <em...@google.com>
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: src/compiler/backend/instruction-codes.h
Insertions: 1, Deletions: 1.
@@ -8,7 +8,6 @@
#include <iosfwd>
#if V8_TARGET_ARCH_ARM
-#include "src/base/logging.h"
#include "src/compiler/backend/arm/instruction-codes-arm.h"
#elif V8_TARGET_ARCH_ARM64
#include "src/compiler/backend/arm64/instruction-codes-arm64.h"
@@ -31,6 +30,7 @@
#define TARGET_ADDRESSING_MODE_LIST(V)
#endif
#include "src/base/bit-field.h"
+#include "src/base/logging.h"
#include "src/codegen/atomic-memory-order.h"
#include "src/codegen/macro-assembler.h"
#include "src/compiler/globals.h"
```
More UNREACHABLE after switches over enums
Gemini was used to build a Clang AST traversal that deterministically
finds switches that are last blocks in non-void functions.
As before, the goal of the effort is to prevent UB when a corrupted
in-sandbox enum value occurs; the CL is not limited to only functions
whose arguments are read from the sandbox.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |