diff options
| author | Alexey Samsonov <samsonov@google.com> | 2012-07-09 14:36:04 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2012-07-09 14:36:04 +0000 |
| commit | 34efb8e9b9670e0e94ad67e742cc30d9abbb82db (patch) | |
| tree | 610a637edc5cf40a79a3608feb97d67e1378cd62 /compiler-rt/lib/asan/asan_stack.cc | |
| parent | d7ba69de9050f8f2fc3b7dd4bc491273160af640 (diff) | |
| download | bcm5719-llvm-34efb8e9b9670e0e94ad67e742cc30d9abbb82db.tar.gz bcm5719-llvm-34efb8e9b9670e0e94ad67e742cc30d9abbb82db.zip | |
[ASan] Use common flags parsing machinery.
llvm-svn: 159933
Diffstat (limited to 'compiler-rt/lib/asan/asan_stack.cc')
| -rw-r--r-- | compiler-rt/lib/asan/asan_stack.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_stack.cc b/compiler-rt/lib/asan/asan_stack.cc index b46c5f49cd8..f90c69b4a9c 100644 --- a/compiler-rt/lib/asan/asan_stack.cc +++ b/compiler-rt/lib/asan/asan_stack.cc @@ -45,7 +45,7 @@ void AsanStackTrace::PrintStack(uptr *addr, uptr size) { uptr pc = addr[i]; AddressInfo addr_frames[64]; uptr addr_frames_num = 0; - if (FLAG_symbolize) { + if (flags()->symbolize) { bool last_frame = (i == size - 1) || !addr[i + 1]; addr_frames_num = SymbolizeCode(pc - !last_frame, addr_frames, ASAN_ARRAY_SIZE(addr_frames)); |

