projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9081de2
)
[lit] Use full config path in diagnostics.
author
Daniel Dunbar
<daniel@zuster.org>
Thu, 21 Jul 2016 23:20:41 +0000
(23:20 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Thu, 21 Jul 2016 23:20:41 +0000
(23:20 +0000)
- This allows tools like emacs to automatically find the config file path when
you step through errors.
- Patch by Dave Abrahams.
llvm-svn: 276357
llvm/utils/lit/lit/LitConfig.py
patch
|
blob
|
history
diff --git
a/llvm/utils/lit/lit/LitConfig.py
b/llvm/utils/lit/lit/LitConfig.py
index
2402221
..
f5d41b1
100644
(file)
--- a/
llvm/utils/lit/lit/LitConfig.py
+++ b/
llvm/utils/lit/lit/LitConfig.py
@@
-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))