summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DIBuilder.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2015-01-20 04:20:42 +0000
committerJason Molenda <jmolenda@apple.com>2015-01-20 04:20:42 +0000
commit3bc66f1f4733fd29792c11a686d416aa9ab4cc38 (patch)
treeb9e38cd04effdf208493f2ff78f1969dafc00362 /llvm/lib/IR/DIBuilder.cpp
parent65e0642d0318528b98ee818929da95a1763c0a13 (diff)
downloadbcm5719-llvm-3bc66f1f4733fd29792c11a686d416aa9ab4cc38.tar.gz
bcm5719-llvm-3bc66f1f4733fd29792c11a686d416aa9ab4cc38.zip
Fix creation of StringRef in FileSpec::ResolveUsername()
so it doesn't assume that the SmallVector<char> will have nul terminator. It did not in at least one case. Caught by ASAN instrumentation. llvm-svn: 226544
Diffstat (limited to 'llvm/lib/IR/DIBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud