chromium/v8/test/unittests/diagnostics/eh-frame-writer-unittest.cc

// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/diagnostics/eh-frame.h"
#include "test/unittests/test-utils.h"

namespace v8 {
namespace internal {

// Test enabled only on supported architectures.
#if defined(V8_TARGET_ARCH_X64) || defined(V8_TARGET_ARCH_ARM) || \
    defined(V8_TARGET_ARCH_ARM64)

namespace {

class EhFrameWriterTest : public TestWithZone {};

const int EhFrameWriterTest::kTestRegisterCode;

}  // namespace

TEST_F(EhFrameWriterTest, Alignment) {}

TEST_F(EhFrameWriterTest, FDEHeader) {}

TEST_F(EhFrameWriterTest, SetOffset) {}

TEST_F(EhFrameWriterTest, IncreaseOffset) {}

TEST_F(EhFrameWriterTest, SetRegister) {}

TEST_F(EhFrameWriterTest, SetRegisterAndOffset) {}

TEST_F(EhFrameWriterTest, PcOffsetEncoding6bit) {}

TEST_F(EhFrameWriterTest, PcOffsetEncoding6bitDelta) {}

TEST_F(EhFrameWriterTest, PcOffsetEncoding8bit) {}

TEST_F(EhFrameWriterTest, PcOffsetEncoding8bitDelta) {}

TEST_F(EhFrameWriterTest, PcOffsetEncoding16bit) {}

TEST_F(EhFrameWriterTest, PcOffsetEncoding16bitDelta) {}

TEST_F(EhFrameWriterTest, PcOffsetEncoding32bit) {}

TEST_F(EhFrameWriterTest, PcOffsetEncoding32bitDelta) {}

TEST_F(EhFrameWriterTest, SaveRegisterUnsignedOffset) {}

TEST_F(EhFrameWriterTest, SaveRegisterSignedOffset) {}

TEST_F(EhFrameWriterTest, RegisterNotModified) {}

TEST_F(EhFrameWriterTest, RegisterFollowsInitialRule) {}

TEST_F(EhFrameWriterTest, EhFrameHdrLayout) {}

#endif

}  // namespace internal
}  // namespace v8