Always spit out lineinfo when possible

This commit is contained in:
Steven Robertson 2017-04-24 16:38:51 -07:00
parent 6bf428caee
commit 582221dd0f

View File

@ -93,7 +93,7 @@ def assemble_code(*libs):
map(go, libs)
return ''.join(sum(zip(*out), ()))
DEFAULT_CMP_OPTIONS = ('-use_fast_math',)
DEFAULT_CMP_OPTIONS = ('-use_fast_math', '-lineinfo')
DEFAULT_SAVE_KERNEL = True
def compile(name, src, opts=DEFAULT_CMP_OPTIONS, save=DEFAULT_SAVE_KERNEL,
arch=None):