diff --git a/lldb/source/Target/StackFrame.cpp b/lldb/source/Target/StackFrame.cpp --- a/lldb/source/Target/StackFrame.cpp +++ b/lldb/source/Target/StackFrame.cpp @@ -1900,14 +1900,13 @@ ConstString fn_name = m_sc.GetFunctionName(); if (!fn_name.IsEmpty()) - strm.Printf("Warning: the current PC is an artificial location " - "in function %s.", - fn_name.AsCString()); - else strm.Printf( - "Warning: the current PC is an artificial location " - "but lldb couldn't associate it with a function in %s.", - m_sc.line_entry.file.GetFilename().GetCString()); + "Note: this address is compiler-generated code in function " + "%s that has no source code associated with it.", + fn_name.AsCString()); + else + strm.Printf("Note: this address is compiler-generated code that " + "has no source code associated with it."); strm.EOL(); } } diff --git a/lldb/test/API/source-manager/TestSourceManager.py b/lldb/test/API/source-manager/TestSourceManager.py --- a/lldb/test/API/source-manager/TestSourceManager.py +++ b/lldb/test/API/source-manager/TestSourceManager.py @@ -276,7 +276,7 @@ self.expect("run", RUN_SUCCEEDED, substrs=['stop reason = breakpoint', '%s:%d' % (src_file,0), - 'Warning: the current PC is an artificial ', - 'location in function ' - ]) + 'Note: this address is compiler-generated code in ' + 'function', 'that has no source code associated ' + 'with it.'])