[PATCH] D52728: [XRay] Remove a path-length limitation

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 1 10:07:33 PDT 2018


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

I don't know why the path is limited to 128, 255 would look good enough for me.

FreeBSD `sys/sys/syslimits.h`

  #define	NAME_MAX		  255	/* max bytes in a file name */
  #define	PATH_MAX		 1024	/* max bytes in pathname */

Linux `include/uapi/linux/limits.h`

  #define NAME_MAX         255	/* # chars in a file name */
  #define PATH_MAX        4096	/* # chars in a path name including nul */
  `


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D52728





More information about the llvm-commits mailing list