Hi -

> We should make dwarf_getsrcfiles and dwarf_getsrclines independent so
> callers that onle need the file table don't need to "pay" for parsing
> the whole line table. (I thought we had a bug for that, but cannot
> find it now. If you also cannot find it, please let me know and I'll
> file a new one.)

I believe you're referring to PR27405, which amerey himself implemented
in commit d4b0848be.

> [...] So you are serializing the file/line table parsing.

(On the other hand, at this stage of concurrency management in
elfutils, it may make perfect sense to err on the side of
*correctness* now, and only complicating locking later when
serious contention hits to performance are indicated.)

- FChE

Reply via email to