mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[lit] Use full config path in diagnostics.
- This allows tools like emacs to automatically find the config file path when you step through errors. - Patch by Dave Abrahams. llvm-svn: 276357
This commit is contained in:
parent
92a7a6556c
commit
7617e34f33
@ -132,7 +132,7 @@ class LitConfig(object):
|
||||
# Step out of _write_message, and then out of wrapper.
|
||||
f = f.f_back.f_back
|
||||
file,line,_,_,_ = inspect.getframeinfo(f)
|
||||
location = '%s:%d' % (os.path.basename(file), line)
|
||||
location = '%s:%d' % (file, line)
|
||||
|
||||
sys.stderr.write('%s: %s: %s: %s\n' % (self.progname, location,
|
||||
kind, message))
|
||||
|
Loading…
x
Reference in New Issue
Block a user