[PATCH] D20541: [esan|cfrag] Create the cfrag variable for the runtime

Qin Zhao via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 15:10:58 PDT 2016

zhaoqin added a comment.

Do you want me to have a general GV layout for different Tool?
If so, it would probably be something like:
struct ToolTy {

  int ToolType;
  const char *UnitName;
  void *SpecificToolGV;

Otherwise, expanding struct ToolTy with different layouts for different tools is too troublesome, (need specify the struct layout upfront line 213).
It would add indirect reference at runtime, but probably fine.


More information about the llvm-commits mailing list