projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55d3b79
)
[COFF] Change a llvm::StringSet<> to llvm::DenseSet<StringRef>. NFC
author
Fangrui Song
<i@maskray.me>
Wed, 10 Aug 2022 00:50:42 +0000
(17:50 -0700)
committer
Fangrui Song
<i@maskray.me>
Wed, 10 Aug 2022 00:50:42 +0000
(17:50 -0700)
The former stores strings and is therefore more expensive.
lld/COFF/Driver.h
patch
|
blob
|
history
diff --git
a/lld/COFF/Driver.h
b/lld/COFF/Driver.h
index
64334ad
..
902f122
100644
(file)
--- a/
lld/COFF/Driver.h
+++ b/
lld/COFF/Driver.h
@@
-158,7
+158,7
@@
private:
std::vector<StringRef> filePaths;
std::vector<MemoryBufferRef> resources;
- llvm::
StringSet<
> directivesExports;
+ llvm::
DenseSet<StringRef
> directivesExports;
COFFLinkerContext &ctx;