forked from OSchip/llvm-project
sanitizer_symbolizer_libcdep.cpp: Change --inlining=true to --inlines and --inlining=false to --no-inlines
This commit is contained in:
parent
6a4fd03698
commit
e4441fc653
|
@ -17,7 +17,7 @@ various parts of this script (see `--plugins`). This is useful for situations
|
|||
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 @@ class LLVMSymbolizer(Symbolizer):
|
|||
'--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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue