diff options
author | Mark Seaborn <mseaborn@chromium.org> | 2013-06-23 18:48:56 -0700 |
---|---|---|
committer | Mark Seaborn <mseaborn@chromium.org> | 2013-06-23 18:48:56 -0700 |
commit | ae9f7fcc65aed800db82aaa55e5e72322f20af02 (patch) | |
tree | eca0b1eeffb65890a1cefdfc203cb4f82afde025 /include/llvm/Bitcode | |
parent | 7001e7af4b74a6a5f5ddc445975d657d443ef2cd (diff) |
PNaCl wire format: Remove the top-level TRIPLE record
Currently, the triple that gets put into pexes is
"armv7-none-linux-gnueabi". This is a wart that we don't want to
keep. We can remove the triple entirely; PNaCl doesn't need it.
We don't need to add a triple back at read time: (pnacl-)llc tells the
backend explicitly what target to use.
I'm leaving MODULE_CODE_TRIPLE defined in the enum for now because
pnacl-bcanalyzer still refers to it.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3505
TEST=PNaCl toolchain trybots + GCC torture tests + Spec2k
Review URL: https://codereview.chromium.org/17321009
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r-- | include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h index f8fa4da40f..3ad9242bd2 100644 --- a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h +++ b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h @@ -50,7 +50,7 @@ namespace naclbitc { /// MODULE blocks have a number of optional fields and subblocks. enum NaClModuleCodes { MODULE_CODE_VERSION = 1, // VERSION: [version#] - MODULE_CODE_TRIPLE = 2, // TRIPLE: [strchr x N] + MODULE_CODE_TRIPLE = 2, // Not used in PNaCl MODULE_CODE_DATALAYOUT = 3, // DATALAYOUT: [strchr x N] MODULE_CODE_ASM = 4, // ASM: [strchr x N] MODULE_CODE_SECTIONNAME = 5, // SECTIONNAME: [strchr x N] |