[PATCH] [llvm-mc] The object form of the GNU triple should be the same as the string form.

Renato Golin renato.golin at linaro.org
Mon Jun 15 13:43:57 PDT 2015


Ouch! This is a really bad design, thanks for the fix and the comment.

For the future, I believe we should either do the normalization in GetTarget and make sure no other function does, or don't change the triple at all in there. Hidden side effects of that magnitude are really horrible... :(

But not for this patch. LGTM. Thanks!


http://reviews.llvm.org/D10450

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list