search for: gnew

Displaying 3 results from an estimated 3 matches for "gnew".

Did you mean: dnew
2019 Feb 22
1
Create the GlobalVariable which have extern in one header file
...ng? Is that because of array size mismatch? Here is my code: GlobalVariable *old = M.getGlobalVariable("DATA_TABLE"); old->setAlignment(16); old->setSection("data_section"); old->addAttribute(llvm::Attribute::OptimizeNone); old->setDSOLocal(false); GlobalVariable *gNew = new GlobalVariable( M, blockItems->getType(), false, GlobalValue::ExternalLinkage, blockItems, "DATA_TABLE"); gNew->setAlignment(16); gNew->setSection("data_section"); gNew->addAttribute(llvm::Attribute::OptimizeNone); On Feb 22 2019, at 12:02 am, Tim Northover &l...
2019 Feb 22
2
Create the GlobalVariable which have extern in one header file
Hi Good day. I am facing issue with creating a GlobalVariable. I already have an extern for that global in a header file to use it in the following way extern const void* DATA_TABLE[]; And with a LLVM PASS, I am trying to create this array with the same name and with initializer. So, I have following: GlobalVariable *gvar_data = new GlobalVariable( M, blockItems->getType(), true,
2009 Nov 23
2
Yealink SIP-T22P Auto Provisioning via HTTP ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi List, I have come across the above handset a few times in the UK, They are quite cheap over here (~?80) Not the best handset in the world but works well enough. I have been asked to setup a central config server for a large collection of these handsets. I know they can do Auto provisioning via FTP/HTTP/TFTP I have got an example of the generic