From ae9f7fcc65aed800db82aaa55e5e72322f20af02 Mon Sep 17 00:00:00 2001 From: Mark Seaborn Date: Sun, 23 Jun 2013 18:48:56 -0700 Subject: 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 --- include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/Bitcode') 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] -- cgit v1.2.3-18-g5258