Error occurs when running scan-build

Hi there,

I’ve got an error I just can not resolve whatsoever,

When I run “scan-build -k -V xcodebuild -configuration Debug -sdk iphonesimulator3.0”

Error: “scan-build: The directory ‘/tmp’ does not exist or cannot be accessed.”

Look forward to hearing from you soon.

Regards,
Luke Du

Hi Luke,

Please file a bug report in LLVM’s Bugzilla database. That helps us track the resolution of issues like these. I’ll then take a look at it as soon as I return from vacation (early next week).

Ted

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?

Cheers,
Enea Zaffanella.

(Previously posted by mistake with the wrong subject).

Enea Zaffanella wrote:

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 :slight_smile: Stack alignment is purely backend thing, I
think it will be pretty easy to forward the option from the compiler
driver to backend