[llvm] r182791 - LTO+Debug Info: correctly emit inlined_subroutine when the inlined callee is

Eric Christopher echristo at gmail.com
Wed May 29 11:47:54 PDT 2013


> It's actually remarkably simple, just a lot of typing.
>
> Going through all the features and turning on/changing features based on the
> dwarf level sounds like more than a day's work to me :]

I did say a lot :)

> How about adding a backend command argument and changing ref_addr based on
> dwarf level as a first step?
>
>
> Bumping the version from 2 to 3 is probably easier and can be treated as a
> first step?
>

I think the best way for this to go is to emit full fidelity in the
front end along with a module level attribute that specifies the dwarf
version we'd like the backend to emit. That can then be resolved at
link time (I suggest "the newest revision") and work as any other
attribute.

Sound good?

-eric



More information about the llvm-commits mailing list