Discussion
Optimisation makes symbol table based debugging harder because
Answer: A
Correct answer: a variable may have no single storage location during its lifetime
Optimisation moves values between registers and memory, keeps them in different registers at different points, and may eliminate a variable entirely by folding or propagating it. A debugger asking where a variable is may find several answers or none, which is why debugging optimised code is difficult and why compilers emit location lists rather than single addresses.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development