line.
This is needed for a test case I plan to commit later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227532
91177308-0d34-0410-b5e6-
96231b3b80d8
for (unsigned i = 0; i < KeptDSOSyms.size(); ++i)
CodeGen.addMustPreserveSymbol(KeptDSOSyms[i].c_str());
for (unsigned i = 0; i < KeptDSOSyms.size(); ++i)
CodeGen.addMustPreserveSymbol(KeptDSOSyms[i].c_str());
+ // Set cpu and attrs strings for the default target/subtarget.
+ CodeGen.setCpu(MCPU.c_str());
+
std::string attrs;
for (unsigned i = 0; i < MAttrs.size(); ++i) {
if (i > 0)
std::string attrs;
for (unsigned i = 0; i < MAttrs.size(); ++i) {
if (i > 0)