[compiler-rt] e4441fc - sanitizer_symbolizer_libcdep.cpp: Change --inlining=true to --inlines and --inlining=false to --no-inlines
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 10:26:15 PDT 2020
Author: Fangrui Song
Date: 2020-08-04T10:24:59-07:00
New Revision: e4441fc653912ec4efc5611a8dd926f8bdd0306c
URL: https://github.com/llvm/llvm-project/commit/e4441fc653912ec4efc5611a8dd926f8bdd0306c
DIFF: https://github.com/llvm/llvm-project/commit/e4441fc653912ec4efc5611a8dd926f8bdd0306c.diff
LOG: sanitizer_symbolizer_libcdep.cpp: Change --inlining=true to --inlines and --inlining=false to --no-inlines
Added:
Modified:
compiler-rt/lib/asan/scripts/asan_symbolize.py
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/asan/scripts/asan_symbolize.py b/compiler-rt/lib/asan/scripts/asan_symbolize.py
index d99e3441e925..a2e38238a97c 100755
--- a/compiler-rt/lib/asan/scripts/asan_symbolize.py
+++ b/compiler-rt/lib/asan/scripts/asan_symbolize.py
@@ -17,7 +17,7 @@
where it is necessary to handle site-specific quirks (e.g. binaries with debug
symbols only accessible via a remote service) without having to modify the
script itself.
-
+
"""
import argparse
import bisect
@@ -92,7 +92,7 @@ def open_llvm_symbolizer(self):
'--use-symbol-table=true',
'--demangle=%s' % demangle,
'--functions=linkage',
- '--inlining=true',
+ '--inlines',
'--default-arch=%s' % self.default_arch]
if self.system == 'Darwin':
for hint in self.dsym_hints:
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
index 490c6fe89beb..77522a20ae9b 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
@@ -275,8 +275,8 @@ class LLVMSymbolizerProcess : public SymbolizerProcess {
#endif
const char *const inline_flag = common_flags()->symbolize_inline_frames
- ? "--inlining=true"
- : "--inlining=false";
+ ? "--inlines"
+ : "--no-inlines";
int i = 0;
argv[i++] = path_to_binary;
argv[i++] = inline_flag;
More information about the llvm-commits
mailing list