llvm/utils
Rafael Espindola 7d7d99622f Replace PROLOG_LABEL with a new CFI_INSTRUCTION.
The old system was fairly convoluted:
* A temporary label was created.
* A single PROLOG_LABEL was created with it.
* A few MCCFIInstructions were created with the same label.

The semantics were that the cfi instructions were mapped to the PROLOG_LABEL
via the temporary label. The output position was that of the PROLOG_LABEL.
The temporary label itself was used only for doing the mapping.

The new CFI_INSTRUCTION has a 1:1 mapping to MCCFIInstructions and points to
one by holding an index into the CFI instructions of this function.

I did consider removing MMI.getFrameInstructions completelly and having
CFI_INSTRUCTION own a MCCFIInstruction, but MCCFIInstructions have non
trivial constructors and destructors and are somewhat big, so the this setup
is probably better.

The net result is that we don't create temporary labels that are never used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203204 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-07 06:08:31 +00:00
..
bugpoint
buildit Darwin builds: handle different possible form for SDKROOT. 2014-02-18 11:20:44 +00:00
count Install three utils, "FileCheck", "count", and "not", for now to appease llvmlab dragonegg builder. 2013-12-20 06:25:37 +00:00
crosstool
emacs
FileCheck Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
FileUpdate Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
fpcmp
git
git-svn
jedit
kate
KillTheDoctor
lint
lit lit: Provide source locations in cfg files with older Python versions 2014-01-11 14:34:18 +00:00
llvm-build llvmbuild: Exclude disabled targets from LLVMExports.cmake. 2014-02-16 12:14:24 +00:00
llvm-lit Add the lld root to llvm-lit, so llvm-lit can be used 2014-01-14 22:52:24 +00:00
Misc
not [CMake] LLVMSupport should be responsible to provide system_libs. 2014-02-10 10:52:19 +00:00
PerfectShuffle
release
TableGen Replace PROLOG_LABEL with a new CFI_INSTRUCTION. 2014-03-07 06:08:31 +00:00
Target/ARM
testgen
textmate
unittest [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
valgrind
vim
yaml-bench Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
check-each-file
clang-parse-diagnostics-file
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetRepositoryPath
GetSourceVersion
getsrcs.sh
lldbDataFormatters.py
llvm-compilers-check
llvm-native-gcc
llvm-native-gxx
llvm.grm
llvm.natvis Adding support for MSVC debugger visualization of the Optional datatype. 2014-03-03 21:15:07 +00:00
LLVMBuild.txt
llvmdo
llvmgrep
Makefile
makellvm
sort_includes.py
test_debuginfo.pl test_debuginfo.pl: Make failures easier to debug by printing the debugger 2014-02-20 19:55:44 +00:00
UpdateCMakeLists.pl
wciia.py Fix known typos 2014-01-24 17:20:08 +00:00