[llvm-commits] [llvm] r47699 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/Target/TargetAsmInfo.cpp lib/Target/X86/X86TargetAsmInfo.cpp lib/Target/X86/X86TargetAsmInfo.h

Duncan Sands baldrick at free.fr
Wed Feb 27 23:08:37 PST 2008


Hi Anton,

> +    /// PreferredEHDataFormat - This hook allows the target to select data
> +    /// format used for encoding pointers in exception handling data. Reason is
> +    /// 0 for data, 1 for code labels, 2 for function pointers. Global is true
> +    /// if the symbol can be relocated.
> +    virtual unsigned PreferredEHDataFormat(unsigned Reason, bool Global) const;

how about using an enum for Reason?

Ciao,

Duncan.



More information about the llvm-commits mailing list