[PATCH] D22588: [compiler-rt] Fix broken unittest related to 64-bit print format
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 20 14:00:28 PDT 2016
rnk added a comment.
lgtm
================
Comment at: test/asan/TestCases/debug_stacks.cc:52
@@ -50,3 +51,3 @@
// CHECK: thread id = 0
- fprintf(stderr, "0x%lx\n", trace[0]);
+ fprintf(stderr, "0x%" PRIXPTR "\n", trace[0]);
// CHECK: [[FREE_FRAME_0:0x[0-9a-f]+]]
----------------
very fancy :)
https://reviews.llvm.org/D22588
More information about the llvm-commits
mailing list