Enable arm64e when building for APPLE?

Hey everyone,

I’ve been experimenting with LLVM 20’s RealtimeSanitizer on Apple platforms.

I successfully built and used it, but I ran into an issue with arm64e, which wasn’t being built by default.

To fix this, I added arm64e here, and after that, I was able to get it up and running.

While investigating further, I found that builtin-config-ix.cmake already includes arm64e.

I am not sure what is the difference between these two files, and my understanding of LLVM CMake infrastrcuture is very limited, so I wanted to check:

• Is arm64e missing from AllSupportedArchDefs.cmake, and should it be added there?

• Or is there a configuration argument I should tweak instead on my end?

Thanks in advance for any insights!

1 Like