[compiler-rt] r276117 - [compiler-rt] [XRay] Basic initialization and flag definition for XRay runtime

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 13:59:46 PDT 2016


On 7/20/2016 9:14 AM, Dean Michael Berris via llvm-commits wrote:
> +#ifndef XRAY_INTERFACE_INTERNAL_H
> +#define XRAY_INTERFACE_INTERNAL_H
> +
> [...]
> +
> +struct XRaySledMap {
> +  const XRaySledEntry *Sleds;
> +  std::size_t Entries;
> +};
> +}
> +
> +#endif

This doesn't compile:

In file included from 
/w/src/llvm.org/projects/compiler-rt/lib/xray/xray_interface.cc:16:
/w/src/llvm.org/projects/compiler-rt/lib/xray/xray_interface_internal.h:36:8: 
error:
       no type named 'size_t' in namespace 'std'
   std::size_t Entries;
   ~~~~~^
1 error generated.


-Krzysztof

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


More information about the llvm-commits mailing list