/*
 * Copyright (C) 2016 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Offsets within ShadowFrame.

#if defined(DEFINE_INCLUDE_DEPENDENCIES)
#include "base/enums.h"    // PointerSize
#include "stack.h"         // art::ShadowFrame
#endif

#include "common.def"        // DEFINE_OFFSET_EXPR

#define DEFINE_THREAD_OFFSET(field_name, method_name) \
  DEFINE_OFFSET_EXPR(Thread, field_name, int32_t, art::Thread::method_name##Offset<art::kRuntimePointerSize>().Int32Value())

//                   New macro suffix            Method Name (of the Offset method)
DEFINE_THREAD_OFFSET(FLAGS,                      ThreadFlags)
DEFINE_THREAD_OFFSET(ID,                         ThinLockId)
DEFINE_THREAD_OFFSET(IS_GC_MARKING,              IsGcMarking)
DEFINE_THREAD_OFFSET(CARD_TABLE,                 CardTable)

// TODO: The rest of the offsets
// are dependent on __SIZEOF_POINTER__

#undef DEFINE_THREAD_OFFSET

#include "common_undef.def"  // undef DEFINE_OFFSET_EXPR
