On Fri, Jan 30, 2015 at 3:10 PM, Saleem Abdulrasool <compnerd at compnerd.org> wrote:> On Fri, Jan 30, 2015 at 1:41 PM, Renato Golin <renato.golin at linaro.org> > wrote: > >> What about the default unwinder for Compiler-RT? Should we assume our >> own? Gcc's? Assuming nothing will break compilation, since the libraries >> won't be available... >> > I think that assuming libunwind by default is the better choice. Assuming > that GCC is installed is an odd assumption (I don't see anywhere in the > docs that in order to use clang, you *must* have gcc installed in the > standard location). Users can easily change the default behaviour with the > flag if they desire. >Shouldn't it just use the default unwinder for the given platform? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150130/6178cdf6/attachment.html>
On Fri, Jan 30, 2015 at 3:35 PM, Dan Albert <danalbert at google.com> wrote:> On Fri, Jan 30, 2015 at 3:10 PM, Saleem Abdulrasool <compnerd at compnerd.org > > wrote: > >> On Fri, Jan 30, 2015 at 1:41 PM, Renato Golin <renato.golin at linaro.org> >> wrote: >> >>> What about the default unwinder for Compiler-RT? Should we assume our >>> own? Gcc's? Assuming nothing will break compilation, since the libraries >>> won't be available... >>> >> I think that assuming libunwind by default is the better choice. >> Assuming that GCC is installed is an odd assumption (I don't see anywhere >> in the docs that in order to use clang, you *must* have gcc installed in >> the standard location). Users can easily change the default behaviour with >> the flag if they desire. >> > > Shouldn't it just use the default unwinder for the given platform? >Sure, but what is the default unwinder for a given platform? Lets go with Linux. I have two different images (okay, I have one, but Im sufficiently familiar with Gentoo as well): - Gentoo w/ GCC - exherbo w/o GCC Both are Linux. Whats the default unwinder? -- Saleem Abdulrasool compnerd (at) compnerd (dot) org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150130/5c303257/attachment.html>
On Fri, Jan 30, 2015 at 4:12 PM, Saleem Abdulrasool <compnerd at compnerd.org> wrote:> On Fri, Jan 30, 2015 at 3:35 PM, Dan Albert <danalbert at google.com> wrote: > >> Shouldn't it just use the default unwinder for the given platform? >> > > Sure, but what is the default unwinder for a given platform? > > Lets go with Linux. I have two different images (okay, I have one, but Im > sufficiently familiar with Gentoo as well): > - Gentoo w/ GCC > - exherbo w/o GCC > > Both are Linux. Whats the default unwinder? >>From a triple standpoint, aren't targets marked as linux-gnu? That shouldbe enough to determine that, right? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150130/7877fe03/attachment.html>