aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-10-26 17:16:50 +0000
committerGreg Clayton <gclayton@apple.com>2015-10-26 17:16:50 +0000
commit5dff6969eaa5b4b656511abdf0bb4897c44006c8 (patch)
tree83b837fc839a8003044f9d2ea133c8d15bb898af /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parent315b6884573e0d2d78a252a290df69fb30dbcbc4 (diff)
downloadllvm-5dff6969eaa5b4b656511abdf0bb4897c44006c8.zip
llvm-5dff6969eaa5b4b656511abdf0bb4897c44006c8.tar.gz
llvm-5dff6969eaa5b4b656511abdf0bb4897c44006c8.tar.bz2
Re-use prologue parsing code that was already written instead of having two copies of code that parse line table prologues.
Also since we always read in the DWARF data or mmap it, we don't need to make a copy of the strings for the directories and file names, we can just store "cosnt char *" values. Every place that uses the prologues use them temporarily and then throw them away so no one is expecting the directory and filename strings to live longer than the parse functions. llvm-svn: 251310
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions