File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
lldb/unittests/Disassembler Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 20
20
using namespace lldb ;
21
21
using namespace lldb_private ;
22
22
23
+ namespace {
23
24
class TestArm64Disassembly : public testing ::Test {
24
25
public:
25
26
static void SetUpTestCase ();
@@ -42,6 +43,7 @@ void TestArm64Disassembly::SetUpTestCase() {
42
43
void TestArm64Disassembly::TearDownTestCase () {
43
44
DisassemblerLLVMC::Terminate ();
44
45
}
46
+ } // namespace
45
47
46
48
TEST_F (TestArm64Disassembly, TestArmv81Instruction) {
47
49
ArchSpec arch (" arm64-apple-ios" );
Original file line number Diff line number Diff line change 20
20
using namespace lldb ;
21
21
using namespace lldb_private ;
22
22
23
+ namespace {
23
24
class TestArmv7Disassembly : public testing ::Test {
24
25
public:
25
26
static void SetUpTestCase ();
@@ -42,6 +43,7 @@ void TestArmv7Disassembly::SetUpTestCase() {
42
43
void TestArmv7Disassembly::TearDownTestCase () {
43
44
DisassemblerLLVMC::Terminate ();
44
45
}
46
+ } // namespace
45
47
46
48
TEST_F (TestArmv7Disassembly, TestCortexFPDisass) {
47
49
ArchSpec arch (" armv7em--" );
Original file line number Diff line number Diff line change 20
20
using namespace lldb ;
21
21
using namespace lldb_private ;
22
22
23
+ namespace {
23
24
class TestMCDisasmInstanceRISCV : public testing ::Test {
24
25
public:
25
26
static void SetUpTestCase ();
@@ -39,6 +40,7 @@ void TestMCDisasmInstanceRISCV::SetUpTestCase() {
39
40
void TestMCDisasmInstanceRISCV::TearDownTestCase () {
40
41
DisassemblerLLVMC::Terminate ();
41
42
}
43
+ } // namespace
42
44
43
45
TEST_F (TestMCDisasmInstanceRISCV, TestRISCV32Instruction) {
44
46
ArchSpec arch (" riscv32-*-linux" );
Original file line number Diff line number Diff line change 20
20
using namespace lldb ;
21
21
using namespace lldb_private ;
22
22
23
+ namespace {
23
24
class TestGetControlFlowKindx86 : public testing ::Test {
24
25
public:
25
26
static void SetUpTestCase ();
@@ -39,6 +40,7 @@ void TestGetControlFlowKindx86::SetUpTestCase() {
39
40
void TestGetControlFlowKindx86::TearDownTestCase () {
40
41
DisassemblerLLVMC::Terminate ();
41
42
}
43
+ } // namespace
42
44
43
45
TEST_F (TestGetControlFlowKindx86, TestX86_64Instruction) {
44
46
ArchSpec arch (" x86_64-*-linux" );
You can’t perform that action at this time.
0 commit comments