summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-01-07 07:43:34 +0000
committerTobias Grosser <tobias@grosser.es>2015-01-07 07:43:34 +0000
commit314587d74314d02b8b20310d031d5cfd94b1119f (patch)
tree708b72f70200021d7502e1607688b2b1ea1d917e /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
parent9ba55334dcbef6f94190e78ef0dac585aafface9 (diff)
downloadbcm5719-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/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud