[llvm-dev] Why Clang is unpacking my StructType Function arguments

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 18 02:01:53 PDT 2018


On Wed, 18 Jul 2018 at 09:45, Zhang <admin at mayuyu.io> wrote:
> But how exactly do those differ? By Vendor?By Arch or by OS? I'm planning on writing a giant switch with the Target triple but I'm not entirely sure which element I should be switching upon : (.

Both OS and architecture certainly. I'm not aware of any cases where
the vendor matters; possibly Cygwin vs MSVC, but I don't think that's
represented as a vendor in the LLVM triple.

Cheers.

Tim.


More information about the llvm-dev mailing list