[PATCH] Move arm-nacl DL description string setting from ctor to setABI.
Jan Voung
jvoung at chromium.org
Mon Nov 10 17:39:20 PST 2014
Hi dschuff,
ARMTargetInfo sets the description string from setABI and not the
ctor, so don't do that under the NaClTargetInfo<ARM...> ctor.
Otherwise, the NaClTargetInfo<ARM...> ctor will set the description
string, then CreateTargetInfo will call setABI() and replace the
description string with another one. Move the arm-nacl setting to
one place (setABI). Change the existing test to pass
"-target-abi aapcs-linux", like what the driver would normally do
for NaCl to test this.
http://reviews.llvm.org/D6208
Files:
lib/Basic/Targets.cpp
test/CodeGen/target-data.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6208.16022.patch
Type: text/x-patch
Size: 1786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141111/40112ab1/attachment.bin>
More information about the llvm-commits
mailing list