Conversation
|
I tried this branch on Fedora 36 with LLVM 15.0.1 and 15.0.2 from cxx-common, and I'm getting some errors after building successfully with |
|
With LLVM 15, %struct.State = type opaqueAnd the spots where the Struct gets accessed, looks like this: %n.i = getelementptr inbounds %struct.AArch64State, ptr %state, i64 0, i32 9, i32 5It's semantically equivalent since Still trying to find a minimal repro. My initial hunch is that it's an |
|
Ok, the problem is that the new Clang's behaviour around Essentially, it's not enough to have the struct definition included in I think we need to have a definition for Before @__remill_state = external global %struct.State, align 1After @__remill_state = global %struct.State zeroinitializer, align 16 |
|
cxx-common now has pre-built LLVM 15 https://github.com/lifting-bits/cxx-common/releases/tag/v0.2.11 Can you update the CI to test with LLVM 15 for this PR, please |
Relevant release notes here: https://releases.llvm.org/15.0.0/docs/ReleaseNotes.html#changes-to-the-llvm-ir