Fixed a problem where a dSYM wasn't properly found because it had the wrong name

<rdar://problem/25447765>

llvm-svn: 264914
This commit is contained in:
Sean Callanan 2016-03-30 20:17:41 +00:00
parent 262f41e91c
commit 7326b69de4
2 changed files with 3 additions and 2 deletions

View File

@ -7,9 +7,10 @@ default: a.out.stripped
a.out.stripped: a.out.dSYM
strip -o a.out.stripped a.out
ln -sf a.out.dSYM a.out.stripped.dSYM
clean::
rm -f a.out.stripped
rm -rf a.out.stripped.dSYM
rm -rf *.dSYM
include $(LEVEL)/Makefile.rules

View File

@ -30,7 +30,7 @@ class TestObjCStaticMethodStripped(TestBase):
if self.getArchitecture() == 'i386':
self.skipTest("requires modern objc runtime")
self.build()
exe = os.path.join(os.getcwd(), "a.out.stripped")
exe = os.path.join(os.getcwd(), "a.out")
target = self.dbg.CreateTarget(exe)
self.assertTrue(target, VALID_TARGET)