Re: Understanding how sparse handles multiple input files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luc,

On 15 June 2017 at 05:09, Luc Van Oostenryck
<luc.vanoostenryck@xxxxxxxxx> wrote:
> On Wed, Jun 14, 2017 at 10:25:59PM +0100, Dibyendu Majumdar wrote:
>> I am trying to understand what happens when multiple input files are
>> given to sparse. Are the symbols from previous files dropped when
>> sparse moves on to the next file?
>>
>> I see a call to remove_symbol_scope() in end_scope() implying that
>> symbols are dropped - but then I am not sure I am understanding this
>> correctly.
>
> sparse seems to process the files more as if being concatenated
> (even if the file scope is respected)
> Is it something like this you're seeing with multiple input files?

I am interesting in using the results of the parsing phase - so just
to trying to understand the behaviour, so that I can work out the best
way to make use of the output.

Regards
Dibyendu
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux