[llvm] [llvm][MetadataLoader] Make sure we correctly load DW_APPLE_ENUM_KIND from bitcode (PR #132374)

Michael Buch via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 21 05:35:08 PDT 2025


Michael137 wrote:

@MaskRay are these failures related to your recent refactorings? If so, could you revert?
```
FAILED: lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5b8n6-1/llvm-project/github-pull-requests/build/lib/Target/RISCV/AsmParser -I/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5b8n6-1/llvm-project/github-pull-requests/llvm/lib/Target/RISCV/AsmParser -I/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5b8n6-1/llvm-project/github-pull-requests/llvm/lib/Target/RISCV -I/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5b8n6-1/llvm-project/github-pull-requests/build/lib/Target/RISCV -I/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5b8n6-1/llvm-project/github-pull-requests/build/include -I/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5b8n6-1/llvm-project/github-pull-requests/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o -MF lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o.d -o lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o -c /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5b8n6-1/llvm-project/github-pull-requests/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5b8n6-1/llvm-project/github-pull-requests/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:826:48: error: no member named 'VK_RISCV_None' in 'llvm::RISCVMCExpr'
    RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_RISCV_None;
                                  ~~~~~~~~~~~~~^
/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5b8n6-1/llvm-project/github-pull-requests/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:831:31: error: no member named 'VK_RISCV_None' in 'llvm::RISCVMCExpr'
           VK == RISCVMCExpr::VK_RISCV_None;
                 ~~~~~~~~~~~~~^
```

https://github.com/llvm/llvm-project/pull/132374


More information about the llvm-commits mailing list