[PATCH] D67676: [lld][WebAssembly] Fix use after free of archive path
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 14:44:10 PDT 2019
sbc100 updated this revision to Diff 220576.
sbc100 added a comment.
- revert
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67676/new/
https://reviews.llvm.org/D67676
Files:
lld/wasm/InputFiles.h
Index: lld/wasm/InputFiles.h
===================================================================
--- lld/wasm/InputFiles.h
+++ lld/wasm/InputFiles.h
@@ -54,7 +54,7 @@
Kind kind() const { return fileKind; }
// An archive file name if this file is created from an archive.
- StringRef archiveName;
+ std::string archiveName;
ArrayRef<Symbol *> getSymbols() const { return symbols; }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67676.220576.patch
Type: text/x-patch
Size: 398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190917/579706dd/attachment.bin>
More information about the llvm-commits
mailing list