diff options
| author | Tobias Grosser <tobias@grosser.es> | 2015-01-07 07:43:34 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2015-01-07 07:43:34 +0000 |
| commit | 314587d74314d02b8b20310d031d5cfd94b1119f (patch) | |
| tree | 708b72f70200021d7502e1607688b2b1ea1d917e /llvm/lib/Object/SymbolicFile.cpp | |
| parent | 9ba55334dcbef6f94190e78ef0dac585aafface9 (diff) | |
| download | bcm5719-llvm-314587d74314d02b8b20310d031d5cfd94b1119f.tar.gz bcm5719-llvm-314587d74314d02b8b20310d031d5cfd94b1119f.zip | |
Use explicit StringRef Type
We previously used a Twine here, but as pointed out by David Blaikie
and Mehdi Amini storing a temporary StringRef in a Twine is not a good
idea, as the StringRef will be freed before the Twine is used leaving
a Twine that points to uninitialized memory. We now make it explicit that
we use a StringRef here.
llvm-svn: 225342
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions

