search for: resetdatalayout

Displaying 2 results from an estimated 2 matches for "resetdatalayout".

2018 Jan 04
0
AllocateTarget for ELF objects on Darwin
...of these points should be changed. Either the branch to DarwinX86_64TargetInfo from: Triple.isOSDarwin() || Triple.isOSBinFormatMachO() to:   Triple.isOSDarwin() && Triple.isOSBinFormatMachO() Or DarwinX86_64TargetInfo itself should respect the object format: if (T.isOSBinFormatMachO())   resetDataLayout("e-m:o-i64:64-f80:128-n8:16:32:64-S128"); else   resetDataLayout("e-m:e-i64:64-f80:128-n8:16:32:64-S128"); My workaround to set OS to Unknown will cause the AllocateTarget() function to fall back to the generic X86_64TargetInfo, which also sets the correct data-layout and avoid...
2018 Jan 10
1
X86 target description string
Hi all, the backend data layout string is generated in X86TargetMachine.cpp. As far as I understand, however, that is not the only place where the target description string is generted. Where does the expected target description string come from? Thanks! -- ---------------- Barbora Murinová The University of Edinburgh SK: +421905718390 UK: +447477833795 -------------- next part --------------