summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/GCMetadata.cpp
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-06-05 19:46:39 +0000
committerdim <dim@FreeBSD.org>2013-06-05 19:46:39 +0000
commitd6c9a1576cecccc9331ad48886b220a3822db59b (patch)
treef813eeb9d535f7c246c64da4cd68e59b05c94da3 /contrib/llvm/lib/CodeGen/GCMetadata.cpp
parent34ac6a12ea10118be8a1ce462ed7964d50d7ac63 (diff)
downloadFreeBSD-src-d6c9a1576cecccc9331ad48886b220a3822db59b.zip
FreeBSD-src-d6c9a1576cecccc9331ad48886b220a3822db59b.tar.gz
Pull in r183297 from upstream llvm trunk:
PR15662: Optimized debug info produces out of order function parameters When a function is inlined we lazily construct the variables representing the function's parameters. After that, we add any remaining unused parameters. If the function doesn't use all the parameters, or uses them out of order, then the DWARF would produce them in that order, producing a parameter order that doesn't match the source. This fix causes us to always keep the arg variables at the start of the variable list & in the original order from the source. Reported by: avg MFC after: 1 week
Diffstat (limited to 'contrib/llvm/lib/CodeGen/GCMetadata.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud