Skip to content

Commit

Permalink
updated download link to v4.1.0 no rc
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpassmore committed Sep 3, 2024
2 parents 0accee8 + 98f94f6 commit bbbf629
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 181 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ project(cdt)
set(VERSION_MAJOR 4)
set(VERSION_MINOR 2)
set(VERSION_PATCH 0)
set(VERSION_SUFFIX "dev")
set(VERSION_SUFFIX "dev")

if (VERSION_SUFFIX)
set(VERSION_FULL "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}-${VERSION_SUFFIX}")
Expand Down
2 changes: 1 addition & 1 deletion docs/03_command-reference/cdt-cc.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ compiler options:
-finline-hint-functions - Inline functions which are (explicitly or implicitly) marked inline
-fmerge-all-constants - Allow merging of constants
-fnative - Compile and link for x86-64
-fno-cfl-aa - Disable CFL Alias Analysis
-fcfl-aa - Enable CFL Alias Analysis
-fno-elide-constructors - Disable C++ copy constructor elision
-fno-lto - Disable LTO
-fno-post-pass - Don't run post processing pass
Expand Down
2 changes: 1 addition & 1 deletion docs/03_command-reference/cdt-cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ compiler options:
-finline-hint-functions - Inline functions which are (explicitly or implicitly) marked inline
-fmerge-all-constants - Allow merging of constants
-fnative - Compile and link for x86-64
-fno-cfl-aa - Disable CFL Alias Analysis
-cfl-aa - Enable CFL Alias Analysis
-fno-elide-constructors - Disable C++ copy constructor elision
-fno-lto - Disable LTO
-fno-post-pass - Don't run post processing pass
Expand Down
2 changes: 1 addition & 1 deletion docs/03_command-reference/cdt-ld.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ld options:
-L=<string> - Add directory to library search path
-fasm - Assemble file for x86-64
-fnative - Compile and link for x86-64
-fno-cfl-aa - Disable CFL Alias Analysis
-fcfl-aa - Enable CFL Alias Analysis
-fno-lto - Disable LTO
-fno-post-pass - Don't run post processing pass
-fno-stack-first - Don't set the stack first in memory
Expand Down
4 changes: 2 additions & 2 deletions docs/man/cdt-cc.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ execution in Antelope block chain virtual machines.

Compile and link for x86-64

**`--fno-cfl-aa`**
**`--fcfl-aa`**

Disable CFL Alias Analysis
Enable CFL Alias Analysis

**`--fno-elide-constructors`**

Expand Down
4 changes: 2 additions & 2 deletions docs/man/cdt-cpp.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ execution in Antelope block chain virtual machines.

Compile and link for x86-64

**`--fno-cfl-aa`**
**`--fcfl-aa`**

Disable CFL Alias Analysis
Enable CFL Alias Analysis

**`--fno-elide-constructors`**

Expand Down
4 changes: 2 additions & 2 deletions docs/man/cdt-ld.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ execution in Antelope block chain virtual machines.

Compile and link for x86-64

**`--fno-cfl-aa`**
**`--fcfl-aa`**

Disable CFL Alias Analysis
Enable CFL Alias Analysis

**`--fno-lto`**

Expand Down
56 changes: 0 additions & 56 deletions libraries/eosiolib/capi/eosio/security_group.h

This file was deleted.

86 changes: 0 additions & 86 deletions libraries/eosiolib/contracts/eosio/security_group.hpp

This file was deleted.

6 changes: 3 additions & 3 deletions libraries/eosiolib/contracts/eosio/singleton.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace eosio {
* @return true - if exists
* @return false - otherwise
*/
bool exists() {
bool exists() const {
return _t.find( pk_value ) != _t.end();
}

Expand All @@ -72,7 +72,7 @@ namespace eosio {
* @brief Get the value stored inside the singleton table
* @return T - The value stored
*/
T get() {
T get() const {
auto itr = _t.find( pk_value );
eosio::check( itr != _t.end(), "singleton does not exist" );
return itr->value;
Expand All @@ -84,7 +84,7 @@ namespace eosio {
* @param def - The default value to be returned in case the data doesn't exist
* @return T - The value stored
*/
T get_or_default( const T& def = T() ) {
T get_or_default( const T& def = T() ) const {
auto itr = _t.find( pk_value );
return itr != _t.end() ? itr->value : def;
}
Expand Down
16 changes: 0 additions & 16 deletions libraries/native/intrinsics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -890,22 +890,6 @@ extern "C" {
}
#pragma clang diagnostic pop

int64_t add_security_group_participants(const char* data, uint32_t datalen) {
return intrinsics::get().call<intrinsics::add_security_group_participants>(data, datalen);
}

int64_t remove_security_group_participants(const char* data, uint32_t datalen){
return intrinsics::get().call<intrinsics::remove_security_group_participants>(data, datalen);
}

bool in_active_security_group(const char* data, uint32_t datalen){
return intrinsics::get().call<intrinsics::in_active_security_group>(data, datalen);
}

uint32_t get_active_security_group(char* data, uint32_t datalen){
return intrinsics::get().call<intrinsics::get_active_security_group>(data, datalen);
}

void set_finalizers(uint64_t packed_finalizer_format, const char* data, uint32_t len) {
intrinsics::get().call<intrinsics::set_finalizers>(packed_finalizer_format, data, len);
}
Expand Down
5 changes: 0 additions & 5 deletions libraries/native/native/eosio/intrinsics_def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <eosio/system.h>
#include <eosio/transaction.h>
#include <eosio/types.h>
#include <eosio/security_group.h>

#include <type_traits>
#include <functional>
Expand Down Expand Up @@ -164,10 +163,6 @@ intrinsic_macro(cancel_deferred) \
intrinsic_macro(get_context_free_data) \
intrinsic_macro(get_sender) \
intrinsic_macro(set_action_return_value) \
intrinsic_macro(add_security_group_participants) \
intrinsic_macro(remove_security_group_participants) \
intrinsic_macro(in_active_security_group) \
intrinsic_macro(get_active_security_group) \
intrinsic_macro(blake2_f) \
intrinsic_macro(sha3) \
intrinsic_macro(k1_recover) \
Expand Down
1 change: 0 additions & 1 deletion tests/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ include( CDTMacros )

macro(add_cdt_unit_test TEST_NAME)
add_native_executable(${TEST_NAME} ${TEST_NAME}.cpp)
target_compile_options(${TEST_NAME} PRIVATE -fno-cfl-aa)
if(CMAKE_BUILD_TYPE STREQUAL "Release")
target_compile_options(${TEST_NAME} PRIVATE -O2)
elseif(CMAKE_BUILD_TYPE STREQUAL "Debug")
Expand Down
8 changes: 4 additions & 4 deletions tools/include/compiler_options.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ static cl::opt<bool> fno_lto_opt(
"fno-lto",
cl::desc("Disable LTO"),
cl::cat(LD_CAT));
static cl::opt<bool> fno_cfl_aa_opt(
"fno-cfl-aa",
cl::desc("Disable CFL Alias Analysis"),
static cl::opt<bool> fcfl_aa_opt(
"fcfl-aa",
cl::desc("Enable CFL Alias Analysis"),
cl::cat(LD_CAT));
static cl::opt<bool> fno_stack_first_opt(
"fno-stack-first",
Expand Down Expand Up @@ -617,7 +617,7 @@ static Options CreateOptions(bool add_defaults=true) {
else
pp_dir = eosio::cdt::whereami::where();

if (!fno_cfl_aa_opt) {
if (fcfl_aa_opt) {
copts.emplace_back("-mllvm");
copts.emplace_back("-use-cfl-aa-in-codegen=both");
agopts.emplace_back("-mllvm");
Expand Down

0 comments on commit bbbf629

Please sign in to comment.