[llvmlinux] [GSoC: Static analysis] Report 1 + PATCH
salvatore.benedetto at gmail.com
Thu Jun 27 12:30:57 UTC 2013
On Wed, Jun 26, 2013 at 10:17 PM, Jan-Simon Möller <dl9pf at gmx.de> wrote:
> I did a normal kernel build and then went into src/linux and called:
> dl9pf at elrond:~/llvmlinux/targets/vexpress/src/linux>
> '/home/dl9pf/llvmlinux/toolchain/clang/install/bin/clang-3.4' '-cc1'
> 'armv7-none-linux-gnueabi' '-analyze' '-disable-free'
> So this works, now the interesting part is how to get that triple properly
> added or propagated to the cc1 stage.
I don't know if it can be of any help, but when I had to figure out the
triple and flags for cross-compiling I had to dig down into the code since
it is a real mess and not documented.
This is where the conversion takes place (yes, there is duplicated code in
files for ARM targets)
the -triple argument in the cc1 stage is influeced by the -target option
of the previous stage.
Hope it helps,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LLVMLinux