Do not add DWARF version before LLVM 3.5

This commit is contained in:
Dmitry Babokin
2016-07-04 16:37:46 +03:00
parent 528f6cef1c
commit c6ae79cbc8
3 changed files with 13 additions and 1 deletions

2
ispc.h
View File

@@ -612,7 +612,9 @@ struct Globals {
// readelf --debug-dump=info object.o | grep -A 2 'Compilation Unit @'
// on Mac:
// xcrun dwarfdump -r0 object.o
#if ISPC_LLVM_VERSION >= ISPC_LLVM_3_5
int generateDWARFVersion;
#endif
/** If true, function names are mangled by appending the target ISA and
vector width to them. */