[cfe-dev] Windows PDATA/XDATA for Clang Inline Assembly

Martin Storsjö via cfe-dev cfe-dev at lists.llvm.org
Sat Oct 17 12:18:42 PDT 2020

On Fri, 16 Oct 2020, Hayden Livingston via cfe-dev wrote:

> Thank you, Reid for this reply and all the work you (and others) do to
> help Windows users of LLVM/Clang.
> And this works for ARM64 as well?
> https://lists.llvm.org/pipermail/llvm-dev/2018-July/124727.html which
> is a couple of years old but you ask someone to see if they would add
> support I don't know if that ever made it.

General support for unwind info code generation was added back then, and 
was mostly complete around LLVM 8.

But support for generating unwind info in assembly (both inline and 
external) wasn't added back then; that was added recently in the master 
branch though. See e.g. 
for examples on the syntax. As the instruction set and unwind opcodes 
differ between x86_64 and arm64, the assembly directives also differ 

// Martin

More information about the cfe-dev mailing list