Fix Windows bot failure in Transforms/FunctionImport/funcimport.ll
authorTeresa Johnson <tejohnson@google.com>
Wed, 10 Feb 2016 23:47:38 +0000 (23:47 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 10 Feb 2016 23:47:38 +0000 (23:47 +0000)
commit41806854cc4ba7495f4194d91666cc1becafb2c8
tree62a002a97679e39859f43fd735ca569eeb1e93c1
parent36ce1b0157c306671a4868f8976bdcbc085417d4
Fix Windows bot failure in Transforms/FunctionImport/funcimport.ll

Make sure we split ":" from the end of the global function id (which
is <path>:<function> for local functions) instead of the beginning to
avoid splitting at the wrong place for Windows file paths that contain
a ":".

llvm-svn: 260469
llvm/lib/Transforms/IPO/FunctionImport.cpp