diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2014-05-22 23:32:18 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2014-05-22 23:32:18 +0000 |
commit | c86ebbd01eba02ff04ffb57537e24f2aa7b8795d (patch) | |
tree | 4f82678f96046bb5337d61ecbe0ebc208e0c693c /lib/Analysis | |
parent | ef518f1cbb7311808398b008e6628bcc995790b3 (diff) | |
download | llvm-c86ebbd01eba02ff04ffb57537e24f2aa7b8795d.tar.gz llvm-c86ebbd01eba02ff04ffb57537e24f2aa7b8795d.tar.bz2 llvm-c86ebbd01eba02ff04ffb57537e24f2aa7b8795d.tar.xz |
[Graph Writer] Limit the length of the graph name because Windows can't handle it.
Windows can't handle paths longer than 260 code points without \\?\. Even
with \\?\ it can't handle path components longer than 255 code points. So
limit graph names to the arbitrary length of 140. Random characters are still
added to the end, so it's ok if graph names collide.
Differential Revision: http://reviews.llvm.org/D3883
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
0 files changed, 0 insertions, 0 deletions