mydir = TestBase.compute_mydir(__file__)
@skipIf(compiler="clang", compiler_version=['<', '8.0'])
- @expectedFailureAll(oslist=no_match(lldbplatformutil.getDarwinOSTriples()))
def test_variable_list(self):
self.build()
_, process, _, _ = lldbutil.run_to_source_breakpoint(
#include "lldb/Symbol/Declaration.h"
#include "lldb/Symbol/SymbolContext.h"
#include "lldb/Symbol/Type.h"
+#include "lldb/Symbol/Variable.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Language.h"
#include "lldb/Target/LanguageRuntime.h"
runtime = process->GetObjCLanguageRuntime();
if (runtime)
return runtime->IsRuntimeSupportValue(*this);
+ // If there is no language runtime, trust the compiler to mark all
+ // runtime support variables as artificial.
+ return GetVariable() && GetVariable()->IsArtificial();
}
return false;
}