[PATCH] D23515: [msan] Correct @LINE expression in obstack.cc
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 15 09:06:57 PDT 2016
dsanders added a comment.
I've posted this one separately from https://reviews.llvm.org/D23512 because something very strange is going on in this test. Adding two blank lines causes the line number reported in the backtrace to change by 30. [[@LINE-3]] looks like the correct line to me since line 32 triggers the use of the uninitialised value but I can't explain why [[@LINE-30]] works when the two blank lines are removed. I've compared the output ELF both with and without the blank lines and I can't find any differences other than the line numbers being different by two in .debug_info and .debug_line which is to be expected.
https://reviews.llvm.org/D23515
More information about the llvm-commits
mailing list