Skip to content

[BOLT] The -Werror build is broken after 97a32f2ad9ded95806db1dcfc281f64b0c1874a6 #143299

@kazutakahirata

Description

@kazutakahirata

The -Werror build of BOLT is broken after:

commit 97a32f2ad9ded95806db1dcfc281f64b0c1874a6 (HEAD)
Author: Fangrui Song <i@maskray.me>
Date:   Sat Jun 7 11:33:40 2025 -0700

with:

bolt/lib/Core/MCPlusBuilder.cpp:88:11: error: enumeration value 'Specifier' not handled in switch [-Werror,-Wswitch]
   88 |   switch (A.getKind()) {
      |           ^~~~~~~~~~~
1 error generated.

and:

bolt/lib/Core/HashUtilities.cpp:54:11: error: enumeration value 'Specifier' not handled in switch [-Werror,-Wswitch]
   54 |   switch (Expr.getKind()) {
      |           ^~~~~~~~~~~~~~
1 error generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions