[cfe-dev] Error occurs when running scan-build

Anton Korobeynikov anton at korobeynikov.info
Wed Aug 12 06:01:57 PDT 2009


Hello

> I would like to query the settings that control the alignment of stack
> frames. Is that possible in clang, or is it delegated to a later
> compilation phase? Does clang support options such as
> -mpreferred-stack-boundary=n in gcc?
clang is just a frontend. It should not know anything about such weird
target-dependent details :) Stack alignment is purely backend thing, I
think it will be pretty easy to forward the option from the compiler
driver to backend

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the cfe-dev mailing list