clayborg requested changes to this revision.
clayborg added a comment.

As Zach said, you could add a function to ArchSpec like:

  std::string
  ArchSpec::GetClangTargetCPU();

and move your code from the large switch statement into there. It can return an 
empty string for any architecture that don't add their own case for the switch 
statement.


Repository:
  rL LLVM

http://reviews.llvm.org/D17022



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to