[PATCH] [ARM] Emit Tag_conformance.
Charlie Turner
charlie.turner at arm.com
Fri Dec 12 10:36:29 PST 2014
Noticed a bug, sorry. Will prepare a new patch.
REPOSITORY
rL LLVM
================
Comment at: lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp:973-974
@@ -961,3 +972,4 @@
- const size_t ContentsSize = calculateContentSize();
+ // + 6 for conformance tag (Tag (1) + 2.09 (4) + NB (1) = 6)
+ const size_t ContentsSize = calculateContentSize() + (EmitConformance ? 6 : 0);
----------------
Will prepare a new revision here, I should be computing the length of the ConformanceValue string here, rather than assuming it will be a sane version number.
http://reviews.llvm.org/D6643
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list