diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-01-18 19:36:27 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-01-18 19:36:27 +0000 |
commit | a8c18890da312e810c687b78658dcd4c989b9776 (patch) | |
tree | 2429124622517b82c51b5d1b4896f6b2ac8184d0 /include | |
parent | 38812dff7d23fbb69223ddc3fcfa643c84ad9339 (diff) | |
download | external_llvm-a8c18890da312e810c687b78658dcd4c989b9776.zip external_llvm-a8c18890da312e810c687b78658dcd4c989b9776.tar.gz external_llvm-a8c18890da312e810c687b78658dcd4c989b9776.tar.bz2 |
- Add a comment to the callback indicating that it's *extremely* not a good
idea, but unfortunately necessary.
- Default to using 4-bytes for the LSDA pointer encoding to agree with the
encoded value in the CIE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93753 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetMachine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index 74dd11f..15f4e6c 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -202,6 +202,9 @@ public: /// getLSDAEncoding - Returns the LSDA pointer encoding. The choices are /// 4-byte, 8-byte, and target default. + /// FIXME: This call-back isn't good! We should be using the correct encoding + /// regardless of the system. However, there are some systems which have bugs + /// that prevent this from occuring. virtual DwarfLSDAEncoding::Encoding getLSDAEncoding() const { return DwarfLSDAEncoding::Default; } |