[PATCH] Fix line numbers for code inlined from __nodebug__ functions.

David Blaikie dblaikie at gmail.com
Tue Jun 3 14:54:02 PDT 2014


================
Comment at: test/Transforms/Inline/inline-line-numbers.ll:9
@@ +8,3 @@
+;   clang -S test.c -emit-llvm -O1 -gline-tables-only -fno-strict-aliasing
+; and manually removing !dbg metadata from the first store instruction.
+
----------------
This seems a strange way to test this - I would've expected just a single assignment in "callee" and the nodebug attribute on it?

Why two assignments and a manual modification to the metadata?

http://reviews.llvm.org/D3988






More information about the llvm-commits mailing list