mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
Fix assertion from previous fix for debian os watchpoints.
Also mark one of the tests as expected fail on Linux due to the debian fix. llvm-svn: 181448
This commit is contained in:
@@ -149,7 +149,7 @@ public:
|
||||
}
|
||||
|
||||
lldb::addr_t GetHWAddress() const {
|
||||
assert(GetKind() == eWatchpointMessage);
|
||||
assert(GetKind() == eWatchpointMessage || GetKind() == eTraceMessage);
|
||||
return m_addr;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ class WatchedVariableHitWhenInScopeTestCase(TestBase):
|
||||
# clearer API to express this.
|
||||
#
|
||||
|
||||
@expectedFailureDarwin
|
||||
@unittest2.expectedFailure
|
||||
@dsym_test
|
||||
def test_watched_var_should_only_hit_when_in_scope_with_dsym(self):
|
||||
"""Test that a variable watchpoint should only hit when in scope."""
|
||||
@@ -28,7 +28,7 @@ class WatchedVariableHitWhenInScopeTestCase(TestBase):
|
||||
self.setTearDownCleanup(dictionary=self.d)
|
||||
self.watched_var()
|
||||
|
||||
@expectedFailureDarwin
|
||||
@unittest2.expectedFailure
|
||||
@dwarf_test
|
||||
def test_watched_var_should_only_hit_when_in_scope_with_dwarf(self):
|
||||
"""Test that a variable watchpoint should only hit when in scope."""
|
||||
|
||||
Reference in New Issue
Block a user