diff options
author | Zachary Turner <zturner@google.com> | 2015-11-04 01:26:48 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-11-04 01:26:48 +0000 |
commit | ff836df6a478feaa03566248c1191098c085cd72 (patch) | |
tree | 86381f3b71523e26d23b60b80b5a589aaea701eb /lldb/scripts/use_lldb_suite.py | |
parent | fe617b1e99916336269da675a16ccd0b511e8493 (diff) | |
download | bcm5719-llvm-ff836df6a478feaa03566248c1191098c085cd72.tar.gz bcm5719-llvm-ff836df6a478feaa03566248c1191098c085cd72.zip |
Revert "Python 3 - Don't add the _d suffix to the symlink on Windows."
This reverts commit e59c95ca936f5a0a8abb987b8605fd8bf82b03b6.
This was a mistake on my part. The real problem was with my
environment. I was using a release interpreter to try to load
my debug extension module. I noticed this after I finally managed
to get into my extension module's init method, and then it segfaulted
with heap errors due to mismatched CRT (debug vs. release)
llvm-svn: 252030
Diffstat (limited to 'lldb/scripts/use_lldb_suite.py')
-rw-r--r-- | lldb/scripts/use_lldb_suite.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lldb/scripts/use_lldb_suite.py b/lldb/scripts/use_lldb_suite.py deleted file mode 100644 index 3dbcbb91700..00000000000 --- a/lldb/scripts/use_lldb_suite.py +++ /dev/null @@ -1,22 +0,0 @@ -import inspect -import os -import sys - -def find_lldb_root(): - lldb_root = os.path.dirname(inspect.getfile(inspect.currentframe())) - while True: - lldb_root = os.path.dirname(lldb_root) - if lldb_root is None: - return None - - test_path = os.path.join(lldb_root, "lldb.root") - if os.path.isfile(test_path): - return lldb_root - return None - -lldb_root = find_lldb_root() -if lldb_root is not None: - import imp - module = imp.find_module("use_lldb_suite_root", [lldb_root]) - if module is not None: - imp.load_module("use_lldb_suite_root", *module) |