Skip to content

Commit 97a4798

Browse files
Update llvm/lib/CGData/StableFunctionMapRecord.cpp
Co-authored-by: Matt Arsenault <[email protected]>
1 parent ee40f71 commit 97a4798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CGData/StableFunctionMapRecord.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void StableFunctionMapRecord::serialize(raw_ostream &OS,
8686
support::endian::Writer Writer(OS, endianness::little);
8787

8888
// Write Names.
89-
auto Names = FunctionMap->getNames();
89+
ArrayRef<std::string> Names = FunctionMap->getNames();
9090
uint32_t ByteSize = 4;
9191
Writer.write<uint32_t>(Names.size());
9292
for (auto &Name : Names) {

0 commit comments

Comments
 (0)