llvm-6502/lib
Pete Cooper bed96c8d97 Use a SmallString buffer instead of a std::string for debug info path lookup. NFC.
This code appends the filename to the directory then looks that up in a StringMap.  We should be using the existing Twine::toStringRef method instead of Twine::str() as most times we'll succeed in the lookup.

Its possible that we should also consider allowing StringMap to lookup a key using a Twine in addition to a StringRef but that would complicate the code with little known benefit above and beyond this change.

This saves 170k temporary allocations when running llc on the verify_use_list_order bitcode with debug info for x86.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237823 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-20 19:12:14 +00:00
..
Analysis Reapply r237539 with a fix for the Chromium build. 2015-05-20 18:41:25 +00:00
AsmParser
Bitcode [BitcodeReader] Error out if we read an invalid function argument type 2015-05-19 01:21:06 +00:00
CodeGen DAGCombiner: Continue combining if FoldConstantArithmetic() fails. 2015-05-20 18:54:02 +00:00
DebugInfo [DWARF parser] Make DWARF parser more robust against missing compile/type units. 2015-05-19 21:54:32 +00:00
ExecutionEngine [RuntimeDyld] Use isInt to assert that a relocation didn't overflow 2015-05-15 20:32:25 +00:00
Fuzzer [lib/Fuzzer] change the meaning of -timeout flag: now timeout is applied to every unit of work separately 2015-05-19 22:12:57 +00:00
IR Change Function::getIntrinsicID() to return an Intrinsic::ID. NFC. 2015-05-20 17:16:39 +00:00
IRReader
LineEditor
Linker While in GlobalValue fix the function(s) that don't follow the 2015-05-15 18:20:14 +00:00
LTO
MC Use a SmallString buffer instead of a std::string for debug info path lookup. NFC. 2015-05-20 19:12:14 +00:00
Object Remove MCAssembler.h include from MCStreamer.h and fix users of MCStreamer.h 2015-05-15 22:19:42 +00:00
Option
Passes
ProfileData
Support Get Triple::getARMCPUForArch() to use TargetParser 2015-05-20 15:05:07 +00:00
TableGen [TableGen] Make some variable names consistent with their type names and just generally consistent across all of the overloads. 2015-05-20 05:40:13 +00:00
Target ARM: Fix comment and make it slightly more readable 2015-05-20 18:40:06 +00:00
Transforms Reapply r237539 with a fix for the Chromium build. 2015-05-20 18:41:25 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile