[llvm-commits] [patch] make bugpoint more config-neutral

Sandeep Patel deeppatel1987 at gmail.com
Sun Aug 16 19:20:51 PDT 2009


Have bugpoint track either the first Module's triple or an override
triple (using -mtriple) and use that triple to make runtime behavioral
decisions. The decisions are a direct conversion of the preprocessor
logic, except that IA64 was dropped.

This fixes bugpoint usage to not make target decisions based on host
compiler flags, such as Darwin cross targeting non-Darwin will now not
add Darwin-specific linker flags.

Only one config.h flag use remains and that's HAVE_LINK_R, which
somebody who knows more about what it's for should replace if
possible.

deep
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deep-llvm-bugpoint-triple.diff
Type: application/octet-stream
Size: 7985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090817/7e6e904a/attachment.obj>


More information about the llvm-commits mailing list