llvm-6502/lib
David Blaikie ad03fa6d3f PR19388: DebugInfo: Emit dead arguments in their originally declared order.
Unused arguments were not being added to the argument list, but instead
treated as arbitrary scope variables. This meant they weren't carefully
added in the original argument order.

In this particular example, though, it turns out the argument is only
/mostly/ unused (well, actually it's entirely used, but in a specific
way). It's a struct that, due to ABI reasons, is decomposed into chunks
(exactly one chunk, since it has one member) and then passed. Since only
one of those chunks is used (SROA, etc, kill the original reconstitution
code) we don't have a location to describe the whole variable.

In this particular case, since the struct consists of just the one int,
once we have partial location information, this should have a location
that describes the entire variable (since the piece is the entirety of
the object).

And at some point we'll need to describe the location of even /entirely/
unused arguments so that they can at least be printed on function entry.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210231 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-05 00:51:35 +00:00
..
Analysis Add a Constant version of stripPointerCasts. 2014-06-04 19:01:48 +00:00
AsmParser Clauses in a landingpad are always Constant. Use a stricter type. 2014-06-04 18:51:31 +00:00
Bitcode Clauses in a landingpad are always Constant. Use a stricter type. 2014-06-04 18:51:31 +00:00
CodeGen PR19388: DebugInfo: Emit dead arguments in their originally declared order. 2014-06-05 00:51:35 +00:00
DebugInfo
ExecutionEngine Add a Constant version of stripPointerCasts. 2014-06-04 19:01:48 +00:00
IR Clauses in a landingpad are always Constant. Use a stricter type. 2014-06-04 18:51:31 +00:00
IRReader
LineEditor
Linker Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
LTO Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
MC
Object Use an enum class. 2014-06-03 05:26:12 +00:00
Option
ProfileData Use an enum class. 2014-06-03 05:12:33 +00:00
Support GraphWriter: try gv before xdg-open 2014-06-04 04:11:12 +00:00
TableGen
Target We've got a getSlotSize call already that we use everywhere else, 2014-06-05 00:22:13 +00:00
Transforms Explain why we skip DbgInfoIntrinsics when looking at line numbers in .gcno file emission. 2014-06-04 21:47:19 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile