Re: [Lldb-commits] [PATCH] D13578: Allow generic arm ArchSpec to merge with specific arm ArchSpec; allow Cortex M0-7's to always force thumb mode

2016-09-26 Thread Eugene Zelenko via lldb-commits
Eugene.Zelenko added a subscriber: Eugene.Zelenko. Eugene.Zelenko closed this revision. Eugene.Zelenko added a comment. Committed in https://reviews.llvm.org/rL265377. Repository: rL LLVM https://reviews.llvm.org/D13578 ___ lldb-commits mailing l

Re: [Lldb-commits] [PATCH] D13578: Allow generic arm ArchSpec to merge with specific arm ArchSpec; allow Cortex M0-7's to always force thumb mode

2015-10-13 Thread Tamas Berghammer via lldb-commits
tberghammer added inline comments. Comment at: source/Core/ArchSpec.cpp:859-870 @@ -853,1 +858,14 @@ + +// If this and other are both arm ArchSpecs and this ArchSpec is a generic "some kind of arm" +// spec but the other ArchSpec is a specific arm core, adopt the specific

Re: [Lldb-commits] [PATCH] D13578: Allow generic arm ArchSpec to merge with specific arm ArchSpec; allow Cortex M0-7's to always force thumb mode

2015-10-12 Thread Jason Molenda via lldb-commits
jasonmolenda updated this revision to Diff 37210. jasonmolenda added a comment. Quick update of the patch using the llvm target information. Builds and works correctly on macosx with xcodebuild. Doesn't build with cmake yet; I don't have the includes set up correctly for the llvm build-dir lib

Re: [Lldb-commits] [PATCH] D13578: Allow generic arm ArchSpec to merge with specific arm ArchSpec; allow Cortex M0-7's to always force thumb mode

2015-10-10 Thread Renato Golin via lldb-commits
rengolin added a comment. In http://reviews.llvm.org/D13578#264072, @jasonmolenda wrote: > I'm trying to rewrite IsAlwaysThumbInstructions() to use the information that > llvm already has, as per Renato's suggestion. The MCSubtargetInfo has a > getFeatureBits() method which can indicate ARM::F

Re: [Lldb-commits] [PATCH] D13578: Allow generic arm ArchSpec to merge with specific arm ArchSpec; allow Cortex M0-7's to always force thumb mode

2015-10-09 Thread Jason Molenda via lldb-commits
jasonmolenda added a comment. Hi Renato & Tamas, thanks for the feedback. I'm trying to rewrite IsAlwaysThumbInstructions() to use the information that llvm already has, as per Renato's suggestion. The MCSubtargetInfo has a getFeatureBits() method which can indicate ARM::FeatureNoARM. I'm sti

Re: [Lldb-commits] [PATCH] D13578: Allow generic arm ArchSpec to merge with specific arm ArchSpec; allow Cortex M0-7's to always force thumb mode

2015-10-09 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. In general I like the approach you are taking and creating IsAlwaysThumbInstructions sounds like a good idea, but I would implement it a bit differently. llvm::Triple already contains a SubArch field what is filled in from the first part of the triple in case of ar

Re: [Lldb-commits] [PATCH] D13578: Allow generic arm ArchSpec to merge with specific arm ArchSpec; allow Cortex M0-7's to always force thumb mode

2015-10-09 Thread Renato Golin via lldb-commits
rengolin added a comment. Hi Jason, This has nothing to do with your patch per se, but we have accurate target descriptions in LLVM, and the parser for all the triples and extra options is now publicly available, so I was wondering if (probably after this go in), you could have a look at using

[Lldb-commits] [PATCH] D13578: Allow generic arm ArchSpec to merge with specific arm ArchSpec; allow Cortex M0-7's to always force thumb mode

2015-10-08 Thread Jason Molenda via lldb-commits
jasonmolenda created this revision. jasonmolenda added a reviewer: tberghammer. jasonmolenda added subscribers: lldb-commits, clayborg. jasonmolenda set the repository for this revision to rL LLVM. Herald added subscribers: rengolin, aemerson. This patch is to address a few issues I came up with w