author | Bill Wendling <isanbard@gmail.com> | |
Mon, 9 Sep 2013 02:37:14 +0000 (02:37 +0000) | ||
committer | Bill Wendling <isanbard@gmail.com> | |
Mon, 9 Sep 2013 02:37:14 +0000 (02:37 +0000) | ||
commit | c3cee57f7d20f69a84fd88464ed8cf050e63c7ad | |
tree | 709d211b7927dba1ef3414207993d651646b1aaf | tree | snapshot (tar.xz tar.gz zip) |
parent | 959cd8f49bb85c8dfe971eb5a8a648ff41ca8ebd | commit | diff |
Generate compact unwind encoding from CFI directives.
We used to generate the compact unwind encoding from the machine
instructions. However, this had the problem that if the user used `-save-temps'
or compiled their hand-written `.s' file (with CFI directives), we wouldn't
generate the compact unwind encoding.
Move the algorithm that generates the compact unwind encoding into the
MCAsmBackend. This way we can generate the encoding whether the code is from a
`.ll' or `.s' file.
<rdar://problem/13623355>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190290 91177308-0d34-0410-b5e6-96231b3b80d8
We used to generate the compact unwind encoding from the machine
instructions. However, this had the problem that if the user used `-save-temps'
or compiled their hand-written `.s' file (with CFI directives), we wouldn't
generate the compact unwind encoding.
Move the algorithm that generates the compact unwind encoding into the
MCAsmBackend. This way we can generate the encoding whether the code is from a
`.ll' or `.s' file.
<rdar://problem/13623355>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190290 91177308-0d34-0410-b5e6-96231b3b80d8
25 files changed: