[LLVMdev] Advice on field access, adding a Modula-3 front end

Krzysztof Parzyszek kparzysz at codeaurora.org
Thu Apr 10 19:07:33 PDT 2014


Check out these files.  There is a class StructLayout there, whose 
constructor generates the member offset information.

include/llvm/IR/DataLayout.h
lib/IR/DataLayout.cpp

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list