I'm working on getting the tests running with Hexagon, and have a question
about identifying the target architecture.
Hexagon LLVM doesn't use a couple architectures like "x86_64" or "i386",
instead we have many architectures, like "v4", "v5", "v55", "v56", v60", so
using self.getArchitecture() can be problematic. I've got a list of Hexagon
architectures in a global supported_hexagon_versions in lldbtest.py. When I
need to check for Hexagon, should I do something like "self.getArchitecture
in supported_hexagon_versions", or something like this:
self.runCmd("target list")
if "arch=hexagon-*-*," in self.res.GetOutput():
?
Ted
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
Linux Foundation Collaborative Project
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev