LLD: Move RoundTrip tests behind a flag

Shankar Easwaran shankare at codeaurora.org
Wed Mar 19 16:30:09 PDT 2014

On 3/19/2014 6:03 PM, Rui Ueyama wrote:
> The current situation is like this:
> 1. compile as debug build to get a binary with debug info, asserts 
> enabled, and super-slow (like 100 times slower than release build), or
> 2. compile as release build to get a binary with good performance but 
> no asserts and not-debuggable.
> Compiling it as release build wouldn't help us much. We need something 
> between 1 and 2.
Can we enable the passes only with DEBUG and ASSERTS enabled ? If its 
only DEBUG, the RoundTripPasses are disabled.


Shankar Easwaran

Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation

More information about the llvm-commits mailing list